Categories

Nov 27, 2019

Q: What is Git stash drop?

1 Answer

Nov 27, 2019

Git ‘stash drop’ command is basically used to remove the stashed item. It will basically remove the last added stash item by default, and it can also remove a specific item if you include it as an argument.

I have provided an example below:

If you want to remove any particular stash item from the list of stashed items you can use the below commands:

git stash list: It will display the list of stashed items as follows:

[email protected]{0}: WIP on master: 049d080 added the index file

[email protected]{1}: WIP on master: c265351 Revert “added files”

[email protected]{2}: WIP on master: 13d80a5 added number to log

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
May 21 in Git
Sep 5 in Git
Jul 26, 2019 in Git Slack Integration
...