git合并单个文件

原文链接:

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

 

 

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注