commit 5e254c645abd9a41adb42cf32f7ec36b0cece469
parent 7afc486cbb10ccde1e944414eb7dfd99b49ad345
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Sat, 10 Jun 2017 18:29:51 +0300
Add a git alias `hash` to output HEAD's commit hash
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dotfiles.org b/dotfiles.org
@@ -304,6 +304,7 @@ You might find mirrors in the following addresses:
d = diff
df = diff --word-diff
l = log --all --graph --decorate --oneline
+ hash = rev-parse HEAD
[mergetool]
cmd = meld "$LOCAL" "$MERGED" "$REMOTE"
[push]