Answers for "delete specific stash"

9

git delete stash

git stash drop stash@{index}   // here index will be shown after getting stash list.
Posted by: Guest on April-22-2020
0

delete a particular stash

git stash drop            # drop top hash, stash@{0}
git stash drop stash@{n}  # drop specific stash - see git stash list

#git stash drop takes no parameter - which drops the top stash - or 
#a stash reference which looks like: stash@{n} which n nominates 
#which stash to drop. You can't pass a commit id to git stash drop
Posted by: Guest on September-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language