Switches back to the last branch.
git checkout -
to switch back to the previous branch.git checkout -
git checkout patch-1
git checkout master
git checkout - # Switches to `patch-1`
Git, Branch
Rewinds the current branch by a given number of commits.
Git, Branch
Rewinds the current branch by a given number of commits.
Git, Branch
Creates and switches to a new branch, optionally setting up a remote tracking branch.