top | item 7829560

(no title)

LoganCale | 11 years ago

Yes you absolutely can rewrite history.

discuss

order

oneandoneis2|11 years ago

No, you can't. You can create a new history, you can't edit an existing one.

To clarify: You can, e.g., use interactive rebase to remove a commit from a branch. But that creates a new HEAD with a different SHA - this is why rebasing published branches is such a bad thing.

The parent was implying you could change history without anyone noticing. This implies modifying a previous commit whilst keeping the current HEAD the same, which can't be done.