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

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.LYWeather 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”

Leave a Reply

Your email address will not be published. Required fields are marked *