Q:

git stash command with name

$ git stash push -m "john-hancock"

$ git stash apply stash^{/john-hancock}
2
git stash save "my_stash"
1
# save your working copy changes
git diff > some.patch

# re-apply it later
git apply some.patch
1

New to Communities?

Join the community