1

I did

git add -A .

then

git commit -m "message" 

and then

git push origin master

then it gaves some error and said "git pull.. etc"

i did

git pull origin master

it gaves error about "merge conflict"

and then i did

git push origin master

but now i check my files i see in some of my files there are some codes

codes

How can i correct my files. Should i remove that codes manually ? Or is there any automatic method ?

Thanks for all

Muhammet Arslan
  • 945
  • 1
  • 9
  • 32

2 Answers2

2

These are called the conflict markers. These are the parts which GIT couldnt merge automatically.

You can check Resolve a Merge and then commit your changes

Rahul Tripathi
  • 161,154
  • 30
  • 262
  • 319
0

After git pull, resolve conflict

then again commit changes and do git pull/push

Vinit Prajapati
  • 1,571
  • 1
  • 17
  • 29