GitHub:pull最新内容

来源:互联网 发布:淘宝管家官方下载 编辑:程序博客网 时间:2024/05/21 19:37

没有学过github。但这是个伟大的工程。

以后准备系统地看看。

先凑合着用。


现在有个需求,把最新的项目拉下来。

如果只这么写一句git pull,会报如下错误。

$ git pull

Updating 7ce0399..d40aa11
error: The following untracked working tree files would be overwritten by merge:
        output/AUDUSD_D.csv
        output/EURUSD_M1.csv
        output/EURUSD_M1.png
        output/GBPUSD_D.csv
        output/GBPUSD_D.png
        output/GBPUSD_M1.csv
        output/GBPUSD_M1.png
Please move or remove them before you merge.

Aborting


查了一下,依此输入以下几句命令,好像可以解决问题。

git add * 
git stash
git pull

原创粉丝点击