Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
# .. "stash@{2}" -p >> changes.patch. etc..

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

# 3. Apply patch

git apply changes.patch

Comment

PREVIOUS NEXT
Code Example
Shell :: udev rule adb 
Shell :: node installation error authenticated user is not valid 
Shell :: Installing ruby version manager (rvm) 
Shell :: Error: path "" is not a descendant of mount point root "" and cannot be exposed from 
Shell :: view nohup output 
Shell :: shell if "-z" 
Shell :: ubuntu check gstreamer version 
Shell :: Openzeppelin for Truffle install 
Shell :: aos animation vue 
Shell :: git delete branch remote 
Shell :: ubuntu command line weather 
Shell :: unix touch all files recursively 
Shell :: bind folder linux 
Shell :: how do i close my virtual window which is created by screen command in linux 
Shell :: how to fetch all git branches 
Shell :: how to see map of branches in git 
Shell :: git tab not workingh 
Shell :: To see all connection NetworkManager has on linux 
Shell :: git supprimer branche origin 
Shell :: bash single bracket and double square bracket 
Shell :: 200 response .htaccess 
Shell :: fish add to path 
Shell :: To permanently fix this problem, please run: npm ERR! sudo chown -R 1000:1000 
Shell :: platform cli 
Shell :: linux find file 
Shell :: ufw command not found bitnami 
Shell :: ubuntu extract zip 
Shell :: linux split with filename extension 
Shell :: zsh slow cd 
Shell :: recover commits done on HEAD 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =