Switch to previous branch git checkout @{-1} Or short alias: git checkout - Check last five branches: git for-each-ref refs/heads/ --sort=-committerdate --format=%(refname:short) --count=5 Add new comment Your name Comment CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Add new comment