diff options
author | Starfall <us@starfall.systems> | 2024-01-31 14:41:41 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-01-31 14:41:41 -0600 |
commit | f1fb961e87c0e37f84e6bdb3ae0ccdee606c93b5 (patch) | |
tree | ca467674536542b467f0a224952c54c07ee1b746 /.config/git/config | |
parent | 85bbf4cd5b588305d3a9347c094f56b3dd296644 (diff) |
git: add 'git last' alias
Diffstat (limited to '.config/git/config')
-rw-r--r-- | .config/git/config | 1 |
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 |