2 ms·
My personal favorite is: git checkout --track origin/master to create a local branch 'master' that tracks the branch 'master' on 'origin', and checks it o
by pieter 17y ago
My personal favorite is:
git checkout --track origin/master
to create a local branch 'master' that tracks the branch 'master' on 'origin', and checks it out.
- jessmartin 17y agoThat is a nice feature. Up 'til now I've been using git_remote_branch (http://github.com/webmat/git_remote_branch/tree/master http://github.com/webmat/git_remote_branch/tree/master).