4 ms·
I think the intended point was that you should always work on feature branches, never on master, rebase your feature branch work against upstream/master which i
by ShellfishMeme 13y ago
I think the intended point was that you should always work on feature branches, never on master, rebase your feature branch work against upstream/master which is the one true published history and thus never rebase master.
In this workflow there is no pushing to master because you never work on master. So there is no reason to ever rebase master. Master is always assumed to be published history.
- tuxie_ 13y agoExactly. Thanks ^^ I'm assuming that you have someone else apart from you sync'ing with your master. But even if you know that nobody else uses your software (so far), I would still recommend, as a good practice, to stay away from rebasing master. Work on feature branches, rebase them, and merge them. Once in master, you don't rebase anymore.