Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我如何设置回购协议并将其推送到github?_Git_Github - Fatal编程技术网

我如何设置回购协议并将其推送到github?

我如何设置回购协议并将其推送到github?,git,github,Git,Github,我在我的LinuxUbuntu10.10服务器上安装了git和GitCore,以便编译我拥有的服务器。我在github站点上按照教程设置了所有内容,但是当我执行git remote add origin时,出现了以下错误 error: could not lock config file .git/config: Disk quota exceeded 我已经在服务器的用户和根用户下进行了尝试。我继续努力推动回购协议,并在接下来的所有步骤中得到了相同的信息。我尝试卸载并重新安装,但仍然出现错误

我在我的LinuxUbuntu10.10服务器上安装了git和GitCore,以便编译我拥有的服务器。我在github站点上按照教程设置了所有内容,但是当我执行git remote add origin时,出现了以下错误

error: could not lock config file .git/config: Disk quota exceeded
我已经在服务器的用户和根用户下进行了尝试。我继续努力推动回购协议,并在接下来的所有步骤中得到了相同的信息。我尝试卸载并重新安装,但仍然出现错误

注意:我在购买这台Linux服务器时没有设置任何配额

谢谢


编辑:看起来我的所有索引节点都被使用了。我正在删除文件以重新获得这些inode。

看起来您的磁盘空间用完了。删除一些文件并重试。

.git
目录通常会占用大量磁盘空间。请先在小目录中试用,以确保步骤正确。

磁盘使用率7%,8.9 GB/120 GB/111.1 GB免费阅读下面有关我的可用空间的评论。我不认为.git目录占用111.1 GB的空间。我不确定,但可能git试图使用一些溢出$TMPDIR$TMPDIR变量为空。