Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check out local branches that track remote
Let's say there's a branch at remotes/origin/foo, and no foo branch locally. `git checkout foo` will checkout a local branch set up to track the remote foo branch. I have never, ever wanted to do `git checkout remotes/origin/foo` and get one of those weird non-local branches. So, display branches as `remotes/origin/foo`, but then chop it down to `foo` before passing to `git checkout`.
- Loading branch information