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

I wouldn't describe the CLI as "awful", though I hear your complaint.

Not sure where you're going with `add` versus `reset` though. `git rm --cached ${file}` would presumably do what you want with parallel syntax.



The sane way to do it would be to have something like `git stage` and `git unstage`, as distinct single-purpose commands.


The first example at https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases is literally exactly what you want.


"It's easy to make the CLI less bad, but the developers have never bothered to do so themselves" is reinforcement of my complaint, not dismissal of it.


Not trying to dismiss, just assist ;)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: