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

Some things are just much faster in an editor.

I used `git add -p` until very recently (basically, until we built this feature in Zed). If you're using `add -p` and you notice a problem that you want to fix before committing, you need to go find that same bit of code in your editor, edit the code, then re-start your `add -p`. If you had chosen not to stage some preceding hunks, you need to skip over those again. Also, an editor can just render code much more readably than the git CLI can.



ah indeed, that definitely happens a lot in larger commits and it can be a huge pain. Great point!




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

Search: