【发布时间】:2016-02-05 17:34:18
【问题描述】:
在处理一些未提交的文件时,我需要提取新代码。有冲突,所以git拒绝拉:
error: Your local changes to the following files would be overwritten by merge:
...
Please, commit your changes or stash them before you can merge.
问题 1:如何提取和合并未提交的更改?我需要继续工作,我还没准备好提交,但我想要外部代码?
问题 2:我最终做了一个stash,然后是一个pull。我现在如何合并对新拉取的更改?如何在不破坏 pull 的新更改的情况下应用我的存储?
【问题讨论】:
-
提交然后拉取
标签: git