Добавлен vacuum

This commit is contained in:
2025-10-30 06:00:39 +00:00
parent edf76874fc
commit 549b420df2

View File

@@ -1,3 +1,4 @@
[alias]
a = "add"
aa = "add --all" # add all unstaged into index
aliases = "config --get-regexp '^alias.*'" # show all aliases
@@ -119,6 +120,7 @@ undo = "uncommit"
unstage = "reset HEAD" # staged file => unstaged
upstream-branch = "!git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)"
user = "config --local --get-regexp '^user'" # show local user settings (in current repo)
vacuum="!git reflog expire --expire-unreachable=now --all; git gc --prune=now"
whoami = "user"
wip = "!git add . && git commit -am 'WIP'"
wipa = "!git add . && git commit --amend -am 'WIP'"