git - Add two aliases

lga - lg with --all
ca - commit --amend
This commit is contained in:
madmaurice 2019-07-07 23:10:46 +02:00
parent 3b44bdc233
commit cd13a05a01

View file

@ -5,10 +5,12 @@
default = current
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lga = lg --all
s = status -sb
a = add
c = commit
co = checkout
ca = commit --amend
ps = push
pl = pull
uncommit = reset --soft HEAD~