Last active
July 8, 2016 14:29
-
-
Save robbdempsey/144a84e5226c5334a0e616083d9fac93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
that I keep forgetting. | |
### checkout a remote branch | |
git fetch origin | |
git checkout -b {local branch name} {origin/remote branch name} | |
### list branches and their last commit | |
git branch -v -a | |
### delete remote branch | |
git push origin --delete {branch-name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment