Skip to content

Home

Return to previous branch

Switches back to the last branch.

git checkout -

# Examples
git checkout patch-1
git checkout master
git checkout - # Switches to `patch-1`

More like this

Start typing a keyphrase to see matching snippets.