From my understanding,
git pull --rebase origin master
is equivalent to
git fetch origin
git rebase origin/master
So if we simply just do git rebase origin/master
instead of git pull --rebase origin master
, is the only difference that any new commits from the remote master branch won't make it to our local branch? Or are there edge cases that I need to be aware of?
Hypothetically, if all we want to do is rebase and no longer work with the current local branch, is there ever a need to incorporate the git fetch origin
step?