arusahni / git-req

Check out merge requests from your GitLab/GitHub hosted repositories from the command line with just the request number.
https://arusahni.github.io/git-req/
MIT License
57 stars 7 forks source link

GitLab tracking information isn't preserved #43

Closed arusahni closed 4 years ago

arusahni commented 4 years ago

When working with a GitLab MR, the checked-out MR branch is not set up to track the remote branch, so attempts to pull upstream changes result in a git error stating that the branch isn't tracking a remote.

This is a result of how we're using the same checkout logic for GitHub and GitLab.