Instantly share code, notes, and snippets.

Embed
What would you like to do?
.gitconfig [alias]
[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