Useful Git Alias

 2 months ago
source link: https://gist.github.com/Klerith/0acf18bbece7923bcac55edb71b03c2b
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"


git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK