profclems / glab

The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983
https://glab.readthedocs.io/
MIT License
2.08k stars 163 forks source link

Glab creates new remote on `glab mr checkout -t` #956

Open GordianDziwis opened 2 years ago

GordianDziwis commented 2 years ago

Discussed in https://github.com/profclems/glab/discussions/955

Originally posted by **BonaBeavis** February 12, 2022 The description says: -t, --track set checked out branch to track remote branch, adds remote if needed What does glab understand under "if needed"? Because in my setup it creates a new remote with my username as name. But if I checkout a mr without the `-t` option and then setup the tracking with `git push --set-upstream foo bar` it works fine with the original repo.
clemsbot commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.