Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not possible to alter commits with git. They are immutable. You can only make new commits that are based on existing ones in some way. The distinction is important, because the original commit (such as a commit pre-rebase) still exists after it's been "changed".


> The distinction is important, because the original commit (such as a commit pre-rebase) still exists after it's been "changed".

The original commit will only exist for as long as git deigns not to garbage collect it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: