dinkolubina
7/25/2017 - 8:17 AM

Git branch from stash

Setup a new branch from stash.

Save current changes to a temp stash:

    $ git stash

Create a new branch based on this stash, and switch to the new branch:

    $ git stash branch <new-branch> stash@{0}