278 B
278 B
title, tags
| title | tags |
|---|---|
| Return to previous branch | branch,beginner |
Switches back to the last branch.
- Use
git checkout -to switch back to the previous branch.
git checkout -
git checkout patch-1
git checkout master
git checkout - # Switches to `patch-1`