4 ms·
1. Rebase onto master. 2. Pull master just before you push. 3. If there are new commits, rebase onto master again. If everyone on the team follows these 3 ru
by sdegutis 10y ago
1. Rebase onto master.
2. Pull master just before you push.
3. If there are new commits, rebase onto master again.
If everyone on the team follows these 3 rules, it won't get too messy to untangle.
- realbarack 10y agoUnless I'm missing something, there's a race condition between "check if there are new commits to pull before force pushing" and "new commits come in". This workflow might work for a very small team but for a larger team it is bound to cause problems.
- reubano 10y agoHe may have editted his comment, but it doesnt mention `force`. As written, there is no race condition.