git: add alias

This commit is contained in:
Mathieu Maret 2022-07-12 14:22:52 +02:00
parent ff6664c54e
commit 3dc7a2810f

View File

@ -64,8 +64,9 @@
code-changes = "!git log --format=format: --name-only | egrep -v '^$' | sort | uniq -c | sort -rg | head -10" code-changes = "!git log --format=format: --name-only | egrep -v '^$' | sort | uniq -c | sort -rg | head -10"
cc = "!git code-changes" cc = "!git code-changes"
fixup = "commit --fixup" fixup = "commit --fixup"
ri = "rebase -i --autostash" ri = "rebase -i --autostash --autosquash"
up = pull --rebase --autostash up = pull --rebase --autostash
rebaseour = "rebase -Xours"
[branch] [branch]
#New branch track remote #New branch track remote
#autosetupmerge = always #autosetupmerge = always