And yet another git article where the "switch" and "restore" commands are missing.
The checkout command has multiple responsibilities, which isn't a good thing. So 2 new commands where created. The "switch" command can be used to create and/or switch to a branch, while the "restore" command can be used to restore working tree files.
And yet another git article where the "switch" and "restore" commands are missing.
The checkout command has multiple responsibilities, which isn't a good thing. So 2 new commands where created. The "switch" command can be used to create and/or switch to a branch, while the "restore" command can be used to restore working tree files.
Thanks for the suggestions - I probably should've included "switch", but just stuck with "checkout" as it's what I always use.