Last active
March 14, 2020 23:40
-
-
Save acoshift/c2d9ef93a2757f445c9fa2f2c4db1017 to your computer and use it in GitHub Desktop.
.gitconfig [alias]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
cm = commit | |
co = checkout | |
p = push | |
pp = pull | |
tags = tag -l | |
b = branch | |
bb = branch -a | |
bd = branch -D | |
pod = push origin --delete | |
r = remote | |
rr = remote -v | |
rup = remote update -p | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
st = status -sb | |
ac = !git add -A && git commit | |
cc = !git branch --merged | grep -v '*' | xargs git branch -d | |
ss = stash | |
sa = stash apply | |
sd = stash drop | |
sl = stash list | |
kk = !git add -A && git commit && git push | |
kkk = !git add -A && git commit -m "update" && git push | |
fuck = reset --hard | |
[rerere] | |
enabled = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment