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

Probably. But choosing the wrong-but-consistent flag would have been easier to learn and remember. I don’t think anyone will consider different git commands as old/new, or core/porcelain or whatever it is. I just want semantical “delete” to have the same switch name, for example.


-c is for create. Very easy to remember.


Sure. But you gotta see the benefit of a "-b" flag creating a branch in every Git command consistently (where it makes sense). That would be easy to remember!


Yes. But when I remember to git checkout -c to “create” it doesn’t help me much.




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

Search: