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

i think they had a design meeting where they said "lets add some new commands to make git easier for newbies".

carrying over flags whose abbreviated forms don't make any sense in the new context doesn't make anything easier for anybody. if you want to keep using the commands you have memorized, you can do that - just don't use switch or restore. the new commands are different, that's the point.



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: