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