git alias to see last commit
authorpatrick nsukami <ndkpatt@gmail.com>
Wed, 10 Dec 2014 20:42:22 +0000 (20:42 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Wed, 10 Dec 2014 20:42:22 +0000 (20:42 +0000)
.gitconfig

index 42bc4ef..bb28db8 100644 (file)
@@ -8,6 +8,7 @@
         autocrlf = input
 
 [alias]
+        last = log -1 HEAD
         list-assumed-unchanged = !git ls-files -v | grep "^[[:lower:]]"
         lol = log --graph --decorate --pretty=oneline --abbrev-commit
         lola = log --graph --decorate --pretty=oneline --abbrev-commit --all