Added git whereami alias.
authorIain Patterson <me@iain.cx>
Thu, 1 Aug 2019 15:20:47 +0000 (16:20 +0100)
committerIain Patterson <me@iain.cx>
Sat, 8 May 2021 08:49:20 +0000 (10:49 +0200)
.gitconfig

index 4a23a84..38e51c0 100644 (file)
@@ -22,3 +22,4 @@
        pretty = log --graph --pretty=format:'%C(green)%ai%Creset %C(magenta)%h%Creset %s %C(cyan)%d%Creset'
        reabse = rebase
        submit = commit -vuno
+       whereami = rev-parse --abbrev-ref HEAD