git 合并某个分支指定的文件

$ git checkout <another-branch> <path-to-file> [<one-more-file> ...]
$ git status
$ git commit -m "'Merge' specific file from '<another-branch>'"

 

参考:

https://dev.to/alexruzenhack/git-merge-specific-file-from-another-branch-dl

posted @ 2019-12-03 21:24  wolbo  阅读(1189)  评论(0编辑  收藏  举报