1

我正在尝试将我的 github 分叉存储库与原始存储库同步。我已按照github 页面上的说明进行操作。但是当我尝试将我自己的主分支与上游合并时,它说:

$ git merge upstream/master
error: Your local changes to the following files would be overwritten by merge:
    ... a list of files ...
Please, commit your changes or stash them before you can merge.
Aborting

就是这样,当我git commitnothing to commit (working directory clean)

我错过了什么?

4

1 回答 1

1

请检查您的行尾: https ://help.github.com/articles/dealing-with-line-endings

于 2013-11-09T07:12:52.843 回答