Add squash git alias

This commit is contained in:
Henrik Lissner 2015-12-11 22:48:10 -05:00
parent 12eede2c2a
commit 51d8798fdb

View file

@ -34,10 +34,9 @@
ls = ls-files ls = ls-files
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
unadd = reset HEAD unadd = reset HEAD
st = status
co = checkout
ammend = commit --amend ammend = commit --amend
exec = "!exec " exec = "!exec "
squash = rebase -i origin/master
# data analysis # data analysis
authors = !git log --format="%aN" | sort -u authors = !git log --format="%aN" | sort -u