зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 21:26:09 +02:00
21 строка
455 B
Plaintext
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
|