Horje
git use stash on another computer Code Example
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
# .. "stash@{2}" -p >> changes.patch. etc..

 git stash show "stash@{0}" -p > changes.patch

# 3. Apply patch

git apply changes.patch




Shell

Related
scp local to ssh aws Code Example scp local to ssh aws Code Example
how to echo string .sh Code Example how to echo string .sh Code Example
git tutorial remove branches on local that do not exist on remote Code Example git tutorial remove branches on local that do not exist on remote Code Example
git archive Code Example git archive Code Example
grep for today's date Code Example grep for today's date Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8