about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 7048918..8e3681d 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -17,6 +17,7 @@
 ; probably also needs to checkout main or develop first
 	clean = !git remote prune origin && git branch | xargs git branch -d
 	force = push --force-with-lease
+	last = !got --no-pager show --abbrev-commit HEAD
 	oops = commit --all --amend --no-edit
 	rebranch = !git checkout main && git pull && git checkout - && git rebase main
 	stashpull = !git stash && git pull && git stash pop