9 ms·
> Recent versions of git has started introducing commands with a more top-down design (e.g. git switch), but that's a very novel development Isn't git switch s
by simplotek 4y ago
> Recent versions of git has started introducing commands with a more top-down design (e.g. git switch), but that's a very novel development
Isn't git switch syntactic sugar for git checkout? What's wrong with checking out a branch?
- codethief 4y ago> What's wrong with checking out a branch? The fact, e.g., that it's a completely different operation than checking out a single file or folder? (One changes HEAD, one doesn't. One warns about overriding local changes, one doesn't, etc.)