CONFLICT (content): Merge conflict in

1.8k views Asked by At

I'm trying to push a project using git but i always get these conflicts.

Auto-merging App.xcodeproj/xcuserdata/user.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
CONFLICT (content): Merge conflict in App.xcodeproj/xcuserdata/user.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
Auto-merging .gitignore
CONFLICT (content): Merge conflict in .gitignore
Automatic merge failed; fix conflicts and then commit the result.

I added the App.xcodeproj/xcuserdata/user.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist to .gitignore and after that i started to get a conflict on that file.

What can i do, besides git-pull which deletes the majority of files in my project.

2

There are 2 answers

1
bruno On BEST ANSWER

I tried this :

git pull --rebase https://github.com/yours master/name of your branch

and after some working around i solved the problem.

1
David Deutsch On

Simply edit the .gitignore file, resolving the conflicts, and then add it to the index, and commit.