Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 5

Support Linking Relative URL's on submodules

When browsing a repo that has submodules with relative urls they do not get linked like a submodule with an absolute url does.

 

I have setup a demo here: https://github.com/apmorton/submoduledemo

Note that all three submodules point to the same repo, but one uses an absolute url and the others use relative urls.

The aboslute url submodule becomes a clickable link that takes you to the submodule repo, the others do not.

 

Using relative submodule urls is particularly useful when people on your team use different protocols for git (some git over ssh, some https), as the submodules will be cloned with whatever protocol the parent repo is cloned with.

4 Replies
Community Manager
Message 2 of 5

Re: Support Linking Relative URL's on submodules

Hi @apmorton,

 

Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list.

 

Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.

 

Please let me know if you have any other questions.

Cheers!

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Ground Controller Lvl 1
Message 3 of 5

Re: Support Linking Relative URL's on submodules

I also would really like this feature! I would therefore like to add a +1.

Ground Controller Lvl 1
Message 4 of 5

Re: Support Linking Relative URL's on submodules

+1, Also would like to see a such feature

Copilot Lvl 2
Message 5 of 5

Re: Support Linking Relative URL's on submodules

I know that I have seen this requested from the community for a long time.  It's actually somewhat baffling to me that what I consider the more "difficult" case (directly links, which could be to different servers) is supported, but the "simpler" case (relative links, which of course are on the same server) are not.

 

This is actually very important to the usability of submodules for our GitHub Enterprise users, so I'll give all the +1 that I can to this one...