Created
November 30, 2021 22:49
-
-
Save roneygomes/19a07f0eeb60844f89b7540f55b89f6f to your computer and use it in GitHub Desktop.
my git aliases
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] | |
pr = pull --rebase | |
ls = log --graph --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate --abbrev-commit | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate --numstat | |
lnc = log --pretty=format:"%h\\ %s\\ [%cn]" | |
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate --date=short | |
clean-branches = !git branch | grep -v \" master$\" | xargs git branch -D | |
checkpoint = commit -am 'checkpoint' | |
last-message = log -n 1 --pretty=format:'%n%n%b' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment