Git för medelnivå
George Boorman
Curriculum Manager, DataCamp
Konflikt
Redigera samma fil i två grenar
Försök att slå ihop
Git vet inte vilken version som ska behållas
Konflikt!
documentation-grenen# Contents and usage
This repo contains source code
for the DataCamp website.
It also contains source code for an
AI-Assistant (recommendation system)
that takes prompts from learners and
returns suggested content
that they might be interested in.
It is for internal use only,
external access is prohibited.
main-grenen# Contents and usage
This repo contains source code
for the DataCamp website.
It is for internal use only,
external access is prohibited.
main-grenengit 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 (inte Ctrl + 0), sedan EnterCtrl + Xgit add README.md
git commit -m "Resolving README.md conflict"
git merge documentation
Already up to date.
Git för medelnivå