Hacker News new | ask | show | jobs
by model-15-DAV 546 days ago
True, I meant the shell, as `cd` is a shell builtin. However, `git-checkout` does implement this behavior. `git checkout -` will checkout the previously checked out branch.