Sorry, this is a very simple question. What does this merge marker mean in GIT
>>>>>>> next-release:db/schema.rb
when it’s got no accompanying?
=======
Also, is there some way to tell GIT to just choose one version over another?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To tell
Gitto choose one version over another (of an unmerged path), you can use one of :git checkout --ours -- path/to/filegit checkout --theirs -- path/to/fileSee the
git checkoutman page for details.Regarding the merge marker; I have never seen a “>>>>” added without a matching “====” and “<<<<“. Are you sure this wasn’t left over from an attempt to manually resolve the conflict?
The tag
next-release:db/schema.rbsimply indicates that the file “db/schema.rb” is on the “next-release” branch.