diff --git a/pages/common/git-checkout.md b/pages/common/git-checkout.md index 9263b06eb6..70cd423bb6 100644 --- a/pages/common/git-checkout.md +++ b/pages/common/git-checkout.md @@ -15,6 +15,10 @@ `git checkout {{branch_name}}` +- Switch to the previously checked out branch: + +`git checkout -` + - Switch to an existing remote branch: `git checkout --track {{remote_name}}/{{branch_name}}`