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

I am not sure that is true at all.

It’s way more important to understand that git has 0 consistency of what the command name is and what object it manipulates.

Git checkout can create both branches and files. Why? Wouldn’t it be easier to have two commands for checking out a file from a different branch and creating a new branch?



I thought they addressed this with "git switch".

https://bluecast.tech/blog/git-switch-branch/




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

Search: