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

Indeed no. That's exactly what git reset does: "copy entries from <commit> to the index". I got that from the unusably bad man page. It was the first sentence.


My question was a rhetorical one :)


I know. But you were needlessly agreeable. I thought some salt needed to be rubbed into the GP post.


And in every git status message.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: