3 ms·
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 recommendi
by imron 6y ago
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.
- nitemice 6y agoWell, 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.
- merb 6y agowell 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.