合并文件:到当前目录
git checkout origin/develop ./xxx
合并文件夹:到要合并的文件夹里面:
git checkout origin/develop .
其中,命令在目标分支运行,origin/develop 是要合并的源分支。
合并文件:到当前目录
git checkout origin/develop ./xxx
合并文件夹:到要合并的文件夹里面:
git checkout origin/develop .
其中,命令在目标分支运行,origin/develop 是要合并的源分支。