To configure git to do a pull with rebase everytime: git config --global branch.autosetuprebase always And to setup an existing branch in the same way: git config branch.ACTUAL_BRANCH_NAME.rebase true