Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Transfer all the changes made to a single file between git branches

# Run this from the branch where you want the file to end up:

git checkout otherbranch myfile.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Transfer #single #file #git #branches
ADD COMMENT
Topic
Name
3+4 =