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 descriptori increased size of post buffer, running
git config http.postbuffer 709427264
got same error.
what doing wrong , how can fix it?
Comments
Post a Comment