我使用GitHub来维护我的项目。我的存储库有问题。它包含一个文件:Git不会将本地存储库与远程存储库同步
public function download($download_path, $download_file) {
file_put_contents($download_path, $download_file);
}
当地的一个样子:
public function download($path, $file) {
file_put_contents($path, $file);
}
虽然当我尝试同步我的本地库与远程一个与git push
它说:
Everything up-to-date
有什么问题? git pull
也不起作用(Already up-to-date.
)
您是否在本地提交了更改? – Chris 2014-08-29 14:44:02
@Chris我该怎么做? – 2014-08-29 15:23:31
取决于您使用的工具。在命令行中,像'git add the-file','git commit'。你说“我使用GitHub来维护我的项目”,但这实际上是Git所做的最基本的事情。也许你需要阅读教程? – Chris 2014-08-29 15:45:32