notes/util/vcs/git/git-stash.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

21 строка
455 B
Plaintext

git stash list
list stashes
git stash
creates a new stash (and prints stash id), reverting all the changes after that
... save <msg>
add stash with <msg>
git stash apply <stash-id>
apply a stash, leaving it in a stash list
<stash-id> is typically a stash@{num}
git stash pop ...
pop a stash off the stash list
git stash drop <stash-id>
drop a stash
stash ids:
stash@{0}
using stash number