3 ms·
Not only it's useful, it's as easy to do in git as typing `git rebase -r`. Recently it even gained support for rewriting branch pointers in the process.
by seba_dos1 3y ago
Not only it's useful, it's as easy to do in git as typing `git rebase -r`. Recently it even gained support for rewriting branch pointers in the process.
- marcandre 3y agoDo you mean it can rewrite branch pointers that pointed to intermediate commits? How?
- seba_dos1 3y ago--update-refs
- eru 3y agoIn general, it's almost always better to use long options. So that would be `git rebase --rebase-merges` in this case. Almost always means: it's better eg when communicating with other humans, whether that's on a forum like HN or in code or scripts. Long options are easier for humans to understand and to 'google'. They also provide some redundancy against typos. The sole exception, where short options can be useful, is when you are actually using a command line interactively. Use short options to your heart's content there.