Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Git: Changing to a Remote Branch From a Clone
- $ git branch
- foo
- * master
- universal_imports
- $ git checkout foo
- $ git checkout universal_imports
- etc.
- $ git remote
- origin
- upstream
- git checkout -b bugfix upstream/master
- git merge bugfix
- git rebase -i bugfix
- git branch -D bugfix
Add Comment
Please, Sign In to add comment