Git Stash
Short introduction:
Git stash allows you to save changes without interfering with commits.
For the list of all stashs:
git stash list
To create a stash(no reference):
git stash
To retrieve and delete the last stash:
git stash pop
To retrieve and keep the last stash:
git stash apply
To create a stash with identification:
git stash save nome_do_stash
or
git stash save 'nome do stash'
To retrieve and maintain a specific stash:
git stash apply stash@{n}
or
git stash apply n
To retrieve and delete a specific stash:
git stash pop stash@{n}
To delete a specific stash
git stash drop stash@{n}
or
git stash drop n
Top comments (1)
To delete a specific stash