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

> All these named reset types could just be two separate reset commands, both pointing to a commit, one resetting the files on disk, one resetting the index.

It sounds to me like you want `git restore -W` and `git restore -S`.



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

Search: