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
Hope this saves you some time!
Thanks for reading. Make sure you follow me on Twitter to stay up to date on the progress of my side projects T.LY, Weather Extension, and Link Shortener Extension. If you are interested in the tech I use daily, check out my uses page.
2 thoughts to “Git Rebase by Default”
Saves you from adding —rebase each time you pull