README.md 368 B

You just ran a git fetch and realize someone has modified the exact file at the exact line that you just worked on.

You want the current state of your working directory to be saved.

Conflict seems inevitable.

  • create a commit with the new version of first.txt
  • use git pull to merge origin/master into your master
  • resolve the conflict in first.txt
  • commit