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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.