28 May 2014

Here is a small trick for git. The dash (or hyphen) - is an alias for the last branch used.

You can use it to save time like this:

$[develop] git checkout release
$[release] git merge - # Will merge develop to release branch
$[release] git checkout - # Checkout to develop
$[develop]