Last active
August 30, 2017 20:41
-
-
Save Hordern/04fda0e3c20a94d4a69b3eb108b5ad9d to your computer and use it in GitHub Desktop.
Revisions
-
Hordern revised this gist
Aug 30, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ /* 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 -
Hordern created this gist
Aug 30, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ /* show last commit comment */ git log -1 --pretty=%B /* show last commit comment and code */ git show