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

猜你喜欢

转载自www.cnblogs.com/wolbo/p/11979560.html