Last active
May 3, 2021 12:42
-
-
Save matheuseduardo/20e1ca8c8958f305c048b9e7bbe427d7 to your computer and use it in GitHub Desktop.
alias para o git
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.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
alias.lg2 log --pretty='%h - %s (%an)' | |
alias.alias config --get-regexp ^alias\. | |
alias.unadd reset HEAD -- | |
alias.unstage reset HEAD -- |
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] | |
alias = config --get-regexp ^alias\\. | |
dump = cat-file -p | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --abbrev-commit | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lg2 = log --pretty='%s (%an) - %h' | |
lg3 = log --oneline --pretty='%s (%an) - %cd (%h)' --author=Matheus --date=format:'%d/%m @ %H:%M' --abbrev-commit --no-merges | |
limpa-branch = fetch --prune | |
type = cat-file -t | |
unadd = reset HEAD -- | |
unstage = reset HEAD -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment