Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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

# General formulas

git checkout <commit_hash> <relative_path_to_file_or_dir>
git checkout <remote_name>/<branch_name> <file_or_dir>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Transfer #single #file #git #branches
ADD COMMENT
Topic
Name
1+6 =