4 ms·
It's no trouble at all to work on a personal branch and merge it back in once it's fixed/complete. Especially if you're planning on doing it and are using a too
by pdenya 13y ago
It's no trouble at all to work on a personal branch and merge it back in once it's fixed/complete. Especially if you're planning on doing it and are using a tool like git flow.
- CUViper 13y agoIf you leave broken commits in the history, you'll make it very hard to use tools like "git bisect". You can "skip" broken commits, but that should be an occasional exception. It doesn't matter if that was on a personal branch either, because once you merge it's all part of the same graph of commits. I have no problem with broken commits locally, but I don't want to see those in a public tree. Merge or rebase with squashing, please.
- narsil 13y agoA rebase in the personal branch that squashes the broken commit into the ones that fixed it would remove any traces of broken code in the master branch.