What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-11-07 17:45:20
git get stash on another pc
# 1. Stash current changes git stash # 2. Create stash as patch (0 is the index of the stash) # If you have multiple stashes, you can use >> to append the next # stash to the same file # e.g. .. "stash@{1}" -p >> changes.patch # ..... Add solution -
Shell/Bash 2021-10-14 10:12:04
git use stash on another computer
# 1. Stash current changes git stash # 2. Create stash as patch (0 is the index of the stash) # If you have multiple stashes, you can use >> to append the next # stash to the same file # e.g. .. "stash@{1}" -p >> changes.patch # ..... Add solution -
Shell/Bash 2021-09-22 09:44:04
how to revert a git stash
$ git stash show -p stash@{0} | git apply -R Add solution -
-
-
-
-
Shell/Bash 2021-08-30 09:40:02
view git stash without applying
git stash show -p stash@{1} Add solution
Best helpers
Ranking is empty