GIT – How to merge specific files from another branch
Monday, September 3, 2012 16:41No 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”
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.