|
|
|
|
|
by nacho_weekend
2591 days ago
|
|
Yes, I agree. Rebase has the ability to obfuscate and rewrite commits if you so choose. Rebasing to just re-order commits is totally viable and perhaps encouraged. We did this at a previous company and it made the commit history very clean to read. However, with great power comes great responsibility in a rebase, and a junior dev can easily mess things up if you don’t educate them properly. |
|
It creates new commits and moves the branch to the tip of the new sequence of commits. No existing commits are changed or deleted.