リポジトリのDropbox
同期に使用していますが、試してみるとエラーが発生します:git
push
fatal: Reference has invalid format: 'refs/heads/master (MacBook-Pro's conflicted copy 2012-10-07)'
というわけで、Dropbox が競合を検出してコピーを作成したようです。OK、問題ないので、競合するファイルを削除しました。それでも、上記の git エラーが発生します。
$ git checkout master
M index.html
Already on 'master'
$ git add .
$ git commit -a -m "Cleanup repo"
[master ff6f817] Cleanup repo
1 file changed, 5 insertions(+), 5 deletions(-)
$ git push
fatal: Reference has invalid format: 'refs/heads/master (MacBook-Pro's conflicted copy 2012-10-07)'
The remote end hung up unexpectedly`
どうすればこれを修正できますか? ありがとう。