合并dev指定文件A.java到master上 git checkout master切换到master分支。git checkout dev xx文件夹/A.java合并dev的指定路径下的A.java。合并成功。