Home ›
Setting up Git to Rebase on Pull Without Command LineSetting up Git to Rebase on Pull Without Command Line
Submitted by Benjamin Melançon on August 2, 2012 - 10:28am
In the .gitconfig file in your home directory, ~ for Linux, and for Windows something like c:\Users\MyName, make sure there are these lines:
[branch]
autosetuprebase = always
And in the project-specific .git/config (in the project's root directory), make sure there are lines like these, in particular of course the last one:
[branch "master"]
remote = origin
merge = refs/heads/master
rebase = true
Comments
Post new comment