DEV Community

Liang Wang
Liang Wang

Posted on

Global Git configuration

git config --list

Alias I use

alias.br=branch
alias.co=checkout
alias.cm=commit
alias.st=status
alias.last=log -3 --color --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %n%s %n%Cgreen(%cr) %n%C(bold blue)<%an>%Creset%n' --abbrev-commit --branches
Enter fullscreen mode Exit fullscreen mode

Top comments (0)