This repository was archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 535
get upstream branch? #600
Labels
Comments
Same as #601, just changing the refspecs for yours |
don't want to fetch, i want to get upstream tracking branch name and hash |
Hey @ankurmittal, Right now there isn't any special support in the library for reading or writing the tracking, a.k.a. upstream, configuration of branches. The library does have support for parsing the configuration file of the git repository, though and we can use this to retrieve the information you're looking for:
Pull requests introducing better porcelain support for reading and writing this information is certainly welcome. |
thanks |
This was referenced Dec 7, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Support feature to get upstream branch
The text was updated successfully, but these errors were encountered: