I have a branch and I edit and write the file. Meanwhile, someone else clicked, changed to the same file.
When I do git pull, I see
First, rewinding head to replay your work on top of it... Applying: add new line Applying: create 1 conf Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Auto-merging <filename> CONFLICT (add/add): Merge conflict in <filename> Recorded preimage for '<filename>' Failed to merge in the changes. Patch failed at 0002 create 1 conf When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort".
I tried to manually resolve the conflict in the file, however I see that I am not on any branch. I wonder why this is happening.
git status
source share