git stash save name
$ git stash push -m "john-hancock"
$ git stash apply stash^{/john-hancock}
git stash save name
$ git stash push -m "john-hancock"
$ git stash apply stash^{/john-hancock}
git stash pop name
git stash save "my_stash"
// Where "my_stash" is the stash name.
// Some more useful things to know: All the stashes are stored in a stack. Type:
git stash list
// This will list down all your stashes.
// To apply a stash and remove it from the stash stack, type:
git stash pop stash@{n}
git stash apply item
git checkout stash@{index} -- <filename> #stash particular file
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us