1
Fork 0

Modify git aliases

This commit is contained in:
Hadeed 2024-12-12 19:02:48 +05:00
parent f34710c943
commit 44f2ec02d4

View file

@ -10,17 +10,11 @@
[alias] [alias]
s = status -u s = status -u
a = add a = add -A
aa = add -A ac = !git a && git commit
c = commit acp = !git ac && git push
ca = commit --amend --no-edit aca = !git a && git commit --amend --no-edit
p = push acap = !git aca && git push --force
pf = push -f
ac = !git aa && git c
aca = !git aa && git ca
acp = !git ac && git p
acap = !git aca && git pf
l = log --all --decorate --oneline --graph -n 20 l = log --all --decorate --oneline --graph -n 20
cfc = !git clone $(xclip -out -sel clip)
# vim: filetype=gitconfig # vim: filetype=gitconfig