From f1fb961e87c0e37f84e6bdb3ae0ccdee606c93b5 Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 31 Jan 2024 14:41:41 -0600 Subject: git: add 'git last' alias --- .config/git/config | 1 + 1 file changed, 1 insertion(+) 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 -- cgit