DEV Community

Discussion on: Rebase to the future!

Collapse
 
jsgarmon profile image
JSG

From the Bob's local feature branch, he can accomplish all this with just:

  1. git pull --rebase origin feature

I use pull --rebase all the time when I don't want a merge commit every time I pull down from the public branch. Simply replays my local commits on top of the remote head.

Collapse
 
jessekphillips profile image
Jesse Phillips

Yeah I was going to mention this in the fetch flow.

It actually makes collaborating with rebase completely acceptable as long as you never merge which I think may work at times too.