Git 中级
George Boorman
Curriculum Manager, DataCamp
冲突
在两个分支中编辑同一文件
尝试合并
Git 不知道保留哪一版
发生冲突!
documentation 分支# 内容与用法
此仓库包含 DataCamp 网站的源代码。
还包含一个 AI 助手(推荐系统)的源代码,
接受学习者的提示并返回
他们可能感兴趣的内容建议。
仅供内部使用,禁止外部访问。
main 分支# 内容与用法
此仓库包含 DataCamp 网站的源代码。
仅供内部使用,禁止外部访问。
main 分支执行git merge documentation
Auto-merging README.md
CONFLICT (add/add): Merge conflict in README.md
Automatic merge failed; fix conflicts and then commit the result.
nano README.md



Ctrl + O(不是 Ctrl + 0),然后按 EnterCtrl + Xgit add README.md
git commit -m "Resolving README.md conflict"
git merge documentation
Already up to date.
Git 中级