Posts Tagged ‘git’

GIT – How to merge specific files from another branch

Monday, September 3, 2012 16:41 No Comments

Using GIT you can merge specific files from another branch using the ‘checkout’ command. After you checkout the files do a commit on the current branch. Example: $ git checkout anotherBranchName  path/to/file.etx    path/to/file2.ext     path/to/file3.ext $git commit -m “Merged files from anotherBranchName”

This was posted under category: Programming, Unix/Linux, Web Tags: , , , , ,