The cases where you can use git pull --rebase have high overlap with the cases where git rebase is sane.
The important thing is when to avoid doing git push --force (almost always; if your remote is a personal fork you theoretically could just create an infinite number of similar branch names for your rebases). Though there are edge cases involving local/SSH clones.
The cases where you can use
git pull --rebase
have high overlap with the cases wheregit rebase
is sane.The important thing is when to avoid doing
git push --force
(almost always; if your remote is a personal fork you theoretically could just create an infinite number of similar branch names for your rebases). Though there are edge cases involving local/SSH clones.