git config --get-regexp alias
Shortcut to git status
to git st
.
Confgiure with
git config --global alias.st status
Configure with:
git config --global alias.pushup "push --set-upstream origin develop"
use with: git pushup
💪
Excludes commits to other branches that were merged in the current
Configure with:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --first-parent"
use with: git lg
Also shows commits merged into this branch
Configure with:
git config --global alias.lga log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
use with: git lga