Git是一个开源的分布式版本控制系统 下载地址 问题一: 是前面commit在remote之后,加上没有pull就push了 解决方法 先git pull --rebase origin master然后再git push origin master 问题二 fatal: pathspec ‘index.php’ did not match any files 解决方法 没有到准确目录下,需要cd XX (你的目录)