ブランチをチェックアウトし、ファイルを編集してコミットしました。その間、他の誰かが変更を同じファイルにプッシュしました。
git pull を実行すると、
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".
ファイル内の競合を手動で解決しようとしましたが、どのブランチにもいないことがわかりました。なぜこれが起こっているのか疑問に思っています。
git status
# Not currently on any branch.
# Untracked files: