【发布时间】:2019-04-03 01:31:48
【问题描述】:
我用 git clone 克隆了一个软件。
git clone https://github.com/BinPro/CONCOCT.git
然后
cd CONCOCT
git fetch
git checkout SpeedUp_Mp
然后我收到了这条消息。
Branch 'SpeedUp_Mp' set up to track remote branch 'SpeedUp_Mp' from 'origin'.
Switched to a new branch 'SpeedUp_Mp
然后我放
sudo python ./setup.py install
现在我想像以前一样把它变成“起源”。 所以我把
git fetch
git checkout origin
然后我收到一条错误消息
error: Your local changes to the following files would be overwritten by checkout:
concoct/cluster.py
Please commit your changes or stash them before you switch branches.
Aborting
我能做什么?如何提交更改?
【问题讨论】: