Add autosquash to gitconfig
This commit is contained in:
parent
a7d1e93aee
commit
4dd66d6e08
@ -27,7 +27,7 @@
|
||||
dump = cat-file -p
|
||||
hist = log --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)%d %C(reset)%s %C(green)[%an]\" --decorate --graph --date=short --all
|
||||
ri = "!f() { r=\"${1}\"; if [ \"${1}\" -eq \"${1}\" ]; then r=\"@~${1}\"; \
|
||||
fi >/dev/null 2>&1; git rebase -i \"${r}\"; }; f"
|
||||
fi >/dev/null 2>&1; git rebase --autosquash -i \"${r}\"; }; f"
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
|
Loading…
Reference in New Issue
Block a user