Git Rebase by Default
When working on a project with multiple developers it’s a good idea to always rebase when you pull.
git pull --rebase
But if you would like to rebase by default, you can add it to your global .gitconfig file by running this command:
git config --global pull.rebase true
For other commands I use regularly, see my Git aliases.