【发布时间】:2020-05-28 19:50:34
【问题描述】:
当我在 VS 2015 中使用 Bitbucket Repository 的 git pull 从 git 中提取数据时,我遇到了以下错误。
无法拉取,因为有未提交的更改。提交或撤消 再次拉动之前的更改。有关详细信息,请参阅“输出”窗口。
【问题讨论】:
标签: git
当我在 VS 2015 中使用 Bitbucket Repository 的 git pull 从 git 中提取数据时,我遇到了以下错误。
无法拉取,因为有未提交的更改。提交或撤消 再次拉动之前的更改。有关详细信息,请参阅“输出”窗口。
【问题讨论】:
标签: git
阅读这个问题和答案:
Visual Studio 2015 Git error message "Cannot pull/switch because there are uncommitted changes"
你必须在拉取之前使用stash,在拉取之后使用unstash它使用这些命令:
【讨论】: