Switch Between git Branches Easily
Date Published: 18 July 2017
I recently ran across a great tip from Kevin Griffin for how to quickly switch from your current git branch to your previous one:
Instead of typing out the full name of the branch when using git checkout, you can simply specify – (minus or dash) to refer to the previous branch.
Now think about how you’re going to put all those saved keystrokes to good use.
Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.