Last active
August 30, 2017 20:41
-
-
Save Hordern/04fda0e3c20a94d4a69b3eb108b5ad9d to your computer and use it in GitHub Desktop.
Simple everyday git commands - print out
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 commit comment */ | |
| git log -1 --pretty=%B | |
| /* This will Show just the first line of the last n commit messages. */ | |
| git log --oneline -n | |
| /* show last commit comment and code */ | |
| git show | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment