git合并部分文件

git merge 指定文件

https://blog.csdn.net/Mr_lee_1/article/details/134502888
git checkout target-branch # 切换到目标分支
git checkout feature-branch example.txt # 从源分支检出特定文件
git commit -m "Merge specific file from feature-branch" # 提交更改
git push

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: