Git Aliases I Often Use
Publish date: May 28, 2022
Last updated: Feb 9, 2023
Last updated: Feb 9, 2023
These are Git aliases that help me be more efficient.
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.cm "commit -m"
git config --global alias.an "--amend --no-edit"
git config --global alias.br branch
git config --global alias.df diff
git config --global alias.dfs "diff --staged"
git config --global alias.logg "log --graph --decorate --oneline --abbrev-commit --all"
git config --global alias.last "log -1 HEAD --stat"