if I have 2 projects with a repository each, is it possible to make a git submodule relative reference between these 2 projects? I'm not sure how how handle the stash project name in the relative url reference.
ssh://git@stash.company.com/projectA/master.git
ssh://git@stash.company.com/projectB/submodule1.git
ssh://git@stash.company.com/projectC/submodule2.git
so I want master.git to have relative submodule references to submodule1.git submodule2.git in different projects.
has been fixed
thanks, I've created https://jira.atlassian.com/browse/STASH-4305
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ah, you need to references 2 levels deep:
git clone ssh://git@stash.xxx.com/prja/master.git cd master git submodule add ../../prjb/sub1.git
that works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robbin,
Just to let you know that while that works on the command line Stash itself doesn't actually link them in the file view, that only works for absolute URLs.
Feel free to raise an improvement if you like.
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.
Share you experiences!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.