3 ms·
this statement surpises me, because `git pull --rebase` is practically my most frequently used operation, besides commit, push and changing branches. intellij
by onetom 5y ago
this statement surpises me, because `git pull --rebase` is practically my most frequently used operation, besides commit, push and changing branches.
intellij even comes with the concept of update, which is either a `pull` or a `pull --rebase`
it asks u once which of those should be the default behaviour, then all i do is cmd-t to updaTe (aka git pull --rebase) my current branch, then push my commits, after a potential 3-way merge, which intellij has the easiest-to-learn interface for, imho.
- ziml77 5y agoYou can make --rebase the default: git config --global pull.rebase true I have this set because it's never intentional when I do a pull to end up with an ugly merge commit
- chousuke 5y ago"git pull --rebase" is not "git pull", it's a different operation. I agree it would be a better default to rebase instead of merge though.