News for hackers. Stuff that matters.
Re:Highlights from Git 2.28 by imron on Monday July 27, 2020 @10:06PM (#23971605)
Not for me.

Those confusing switches are already ingrained in my memory (or hidden away behind aliases) and now I find it more confusing that git is recommending new and different commands to do things that I've been doing a fixed way for years.

`git restore <file>` instead of `git checkout -- <file>`is another one.

Re:Highlights from Git 2.28 by merb on Tuesday July 28, 2020 @04:22AM (#23973583)
well git checkout basically is confusing because it does two things at once.

git restore and git switch basically tries to seperate the functionality.

i.e. from: "git-checkout - Switch branches or restore working tree files"

to

- "git-switch - Switch branches"

- "git-restore - Restore working tree files"

tbf I found it really stupid from the beginning that it tries two things at once.

Re:Highlights from Git 2.28 by nitemice on Monday July 27, 2020 @10:14PM (#23971652)
Well, I guess the good thing here is that they're not going to remove the old checkout behaviour. And these new commands are much easier to use and understand for a beginner.