Avoid merge commits on pull.
Section: Setup and Configuration
Set pull to rebase by default
bash
bash
git config --global pull.rebase trueLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Setup and Configuration