Last active
January 22, 2020 17:26
-
-
Save brunobertolini/35f1ca040b02930f9dced49b31343be0 to your computer and use it in GitHub Desktop.
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] | |
k = !gitk --all & | |
dismiss = reset HEAD --hard | |
rollback = reset --soft HEAD~1 | |
unstage = reset HEAD -- | |
undo = checkout -- | |
redo = commit --amend --no-edit | |
sane = remote prune origin | |
send = push origin $(git rev-parse --abbrev-ref HEAD) | |
l = log --graph --pretty=format:'%C(yellow)%h%Creset %Cgreen%cr %C(bold blue)%an%Creset - %s%C(red)%d%Creset' --abbrev-commit --max-count=30 | |
lg = log --all --graph --decorate --oneline --abbrev-commit --max-count=30 | |
st = status -sb | |
tags = tag -l | |
branches = branch -a | |
remotes = remote -v | |
co = checkout | |
cm = commit -m | |
acm = !git add . && git commit -m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment