Languages

Hard reset with pull is not working - git merge conflict (modify/delete/content merge)

1 points
Asked by:
Saim-Mccullough
688

I have got task to make code review and I am newbies in git.

After I made git pull I got some conflicts.

Console:

As I suppose it happened becasue someone changed git history.

I have created this branch and after first push, job was continued by some member from my team.

I have tried to make git clean -fd with git reset --hard and later git pull again but it is not working. Conflicts are there still. 

 

1 answer
2 points
Answered by:
Root-ssh
178180

If you want to reset all repository to remote state run following commands:

And chack it now with:

Problen was describeed here too.

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join