Last active
March 13, 2017 18:24
-
-
Save hickerm/7126408 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
//show last 5 commits on one line | |
git log --pretty=oneline --max-count=5 | |
//create a branch and switch to it at same time | |
git checkout -b branchname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment