9

Создать новую ветку testchanges с началом из того коммита, на котором вы находились, когда переносили последние правки в тайник, переключиться на нее и удалить спрятанное из тайника, если оно применилось успешно.

$ git stash branch testchanges
Switched to a new branch "testchanges"
# On branch testchanges
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#      modified:   index.html
#
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#
#      modified:   lib/simplegit.rb
#
Dropped refs/stash@{0} (f0dfc4d5dc332d1cee34a634182e168c4efc3359)
-----------