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

Okay the previous wasn't real GPT but this is?

> git reset --soft [COMMIT_HASH]^

The docs say files are unchanged.

> git reset --soft [COMMIT_HASH]^

Committing the unchanged files so like an amend, a squash, not exactly reversing, reverting, or undoing anything except commit messages.



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

Search: