News for hackers. Stuff that matters.
Re:Git is too hard by heavenlyblue on Tuesday November 17, 2020 @04:23AM (#25121650)
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?

Re:Git is too hard by oerpli on Tuesday November 17, 2020 @05:01AM (#25121942)
I thought they addressed this with "git switch".

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