私はウェブサイトの開発に取り組んでおり、github にバックアップしたいと考えていました。次の手順を実行しました。
- サイト(github)にリポジトリを作成
- 私のローカル開発環境では
git init
、.git dir を作成して実行しました - 私のローカル開発環境で、私は走った
git remote add origin https://github.com/username/repo.git
- 今、ローカルボックスにすべてを追加しようとしました
git add *
コミットしようとした、それは言った
# On branch master nothing to commit (working directory clean)
すべてを git remote にプッシュしようとしました
git push -f origin branchname
。次のエラーが発生しました。Counting objects: 3644, done. Delta compression using up to 32 threads. fatal: Out of memory, calloc failed)
fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly fatal: write error: Bad file descriptor実行してポストバッファのサイズを増やしました
git config http.postBuffer 709427264
が、同じエラーが発生しました。
私は何を間違っていますか?どうすれば修正できますか?