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

Exactly this. I can make a hundred commits that are one file per commit and I can later go back and

    git reset --soft HEAD~100 
and that will cleanly leave it as the hundred commits never happened.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: