git - Backing up small website to repository at github -


i working on developing website , wanted on github. took following steps:

  • created repository on site (github)
  • in local dev environment, ran git init created .git dir
  • in local dev environment, ran git remote add origin https://github.com/username/repo.git
  • now, tried add in local box git add *
  • tried commit, said

    # on branch master nothing commit (working directory clean)

  • tried push git remote git push -f origin branchname. got following error:

    counting objects: 3644, done. delta compression using 32 threads. fatal: out of memory, calloc failed)
    fatal: remote end hung unexpectedly fatal: remote end hung unexpectedly fatal: write error: bad file descriptor

  • i increased size of post buffer, running git config http.postbuffer 709427264 got same error.

what doing wrong , how can fix it?

could post output of git fsck. if tells you have a missing blob, check this link solution.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -