git合并单个文件 2014-04-20 by 聆风 原文链接: http://stackoverflow.com/questions/10784523/how-do-i-merge-changes-to-a-single-file-rather-than-merging-commits/11593308#11593308 git checkout A git checkout --patch B f 合并A分支上的f和B分支上的f