How to share a git stash with another developer or yourself to another machine

Creating the stash as a patch The following git command will create a patch file that contains all the differences represented by the set of changes in the stash.
1 2 3 |
<xmp>$ git stash show "stash@{0}" -p > changes.patch</xmp> |
The “stash@{0}” is the ref of the stash. If you want a different one just use $ git stash list to see your list of […]