Git: Add unstage and modify commit* aliases
Also add a coops because I found that I use it quite often.
This commit is contained in:
parent
6c453aaccd
commit
08c5e1e6de
|
@ -18,6 +18,7 @@
|
||||||
c = commit
|
c = commit
|
||||||
b = branch
|
b = branch
|
||||||
a = add
|
a = add
|
||||||
|
unadd = restore --staged
|
||||||
ls-alias = config --get-regexp alias
|
ls-alias = config --get-regexp alias
|
||||||
l = log --oneline
|
l = log --oneline
|
||||||
ll = log
|
ll = log
|
||||||
|
@ -29,9 +30,10 @@
|
||||||
brd = branch -d
|
brd = branch -d
|
||||||
fame = !python3 -m gitfame
|
fame = !python3 -m gitfame
|
||||||
p = push
|
p = push
|
||||||
cmam = commit -am # rarely used; cmav and cmv are now my best friends :>
|
cam = commit -am # rarely used; cav and cv are now my best friends :>
|
||||||
cmav = commit -av
|
cav = commit -av
|
||||||
cmv = commit -v
|
cv = commit -v
|
||||||
|
coops = commit --amend --no-edit # commit... oops!
|
||||||
pushall = !git remote | xargs -L1 git push --all
|
pushall = !git remote | xargs -L1 git push --all
|
||||||
# Same as pushall but not for all branches
|
# Same as pushall but not for all branches
|
||||||
pall = !git remote | xargs -L1 git push
|
pall = !git remote | xargs -L1 git push
|
||||||
|
|
Loading…
Reference in New Issue