Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git copy file from another branch

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: #git #copy #file #branch
ADD COMMENT
Topic
Name
6+5 =