git - Add two aliases
lga - lg with --all ca - commit --amend
This commit is contained in:
parent
3b44bdc233
commit
cd13a05a01
1 changed files with 2 additions and 0 deletions
|
@ -5,10 +5,12 @@
|
||||||
default = current
|
default = current
|
||||||
[alias]
|
[alias]
|
||||||
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
|
||||||
|
lga = lg --all
|
||||||
s = status -sb
|
s = status -sb
|
||||||
a = add
|
a = add
|
||||||
c = commit
|
c = commit
|
||||||
co = checkout
|
co = checkout
|
||||||
|
ca = commit --amend
|
||||||
ps = push
|
ps = push
|
||||||
pl = pull
|
pl = pull
|
||||||
uncommit = reset --soft HEAD~
|
uncommit = reset --soft HEAD~
|
||||||
|
|
Loading…
Reference in a new issue