# The local branch is named LOCAL and the remote branch is named REMOTE
$ git checkout -b LOCAL-track origin/REMOTE
$ git branch -d LOCAL
$ git branch -m LOCAL
Last active
August 29, 2015 14:00
-
-
Save jarvys/11240019 to your computer and use it in GitHub Desktop.
make an existed local branch to track a remote branch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment