One of the most useful Git features
A while a go a colleague introduced me to this shortcut in git that improved my productivity tremendously. It was the power of -
. If you use a Unix like operating systems you know how useful the -
as place holder is e.g., representing the std-in/-out in command lines or the previous directory we have been in the shell. This last feature is also available in git with the difference that -
can refer to the previous checkout branch.