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
  • 975
  • 1
  • 9
  • 33

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
  • 168,305
  • 31
  • 280
  • 331
0

After git pull, resolve conflict

then again commit changes and do git pull/push

Vinit Prajapati
  • 1,593
  • 1
  • 17
  • 29