As everyone knows, git checkout
is a very overloaded command. And I do understand that certain commands got introduced to distribute, e.g. to git switch
.
Before I used the following commands:
$ git checkout <existing-branch>
$ git checkout <hash>
$ git checkout -b <new-branch-name>
So I am wondering after git switch
got introduced, what is the left purpose of git-checkout
? Is this a deprecated command?