Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Resolve remote git references using provider agnostic method #843
As indicated in the linked discussion currently the resolution of branch-names to sha1s is done using provider specific API calls, for anything unsupported users must figure out the commit hash themselves.
Who would use this feature?
Anyone not using GitHub or GitLab.
referenced this issue
May 7, 2019
You think you know a lot about Git and then something like this comes along. Every day is a school day! We should definitely add this to the "bare git repo provider". For GitHub, Gitlab.com and others where we have an API we can call I'd leave things as is. It works, it is cheap and we have a good caching setup.
For bare git repositories this will be a major usability improvement!