Add git hash command to show short commit hash

This commit is contained in:
Talia 2021-05-31 13:12:33 +02:00
parent a036ae3740
commit 4ae002b097

View file

@ -26,6 +26,8 @@
ts = timeshift ts = timeshift
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task" task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
track = add --intent-to-add track = add --intent-to-add
h = log -1 --format=%h
hash = log -1 --format=%H
[user] [user]
useConfigOnly = true useConfigOnly = true
[user "darkwiiplayer"] [user "darkwiiplayer"]