我更改了一个我的朋友正在同时工作的文件。我做了一些改变,现在我想推它,但它说我应该先拉。当我git pull
,它说:Git pull自行中止,本地文件更改将被合并覆盖
error: Your local changes to the following files would be overwritten by merge: Please, commit your changes or stash them before you can merge.
Aborting
如何合并文件?如果我这样做,我朋友的文件会完全改变吗?我确信他已经添加了一些东西,并且我添加了我的东西。我们的更改将如何处理?
可能重复http://stackoverflow.com/questions/15745045/how-do-i-resolve -git-说提交 - 您 - 变化 - 或藏匿了他们,才吃到-ME) – stdcall