3 ms·
> "git checkout" can is used for 3 different things: “switch”, “create branch”, and “revert a file” Git v2.23 (released in August 2019) added "git switch" and
by jwilk 4y ago
> "git checkout" can is used for 3 different things: “switch”, “create branch”, and “revert a file”
Git v2.23 (released in August 2019) added "git switch" and "git restore" commands to straighten this up.