DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+3 =
Submit