I have a local git repository with an existing remote on my harddrive. Now I wanted to move the repository to github and following the documentation I did the following:
git remote set-url origin https://github.com/xxx/xxx.git
git push -u origin master
but I am getting errors.
[user@machine folder]$ git push -u origin master
Username:
Password:
Counting objects: 7398, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (2575/2575), done.
error: RPC failed; result=22, HTTP code = 0iB | 367.95 MiB/s
fatal: The remote end hung up unexpectedly
Writing objects: 100% (7398/7398), 506.65 MiB | 367.95 MiB/s, done.
Total 7398 (delta 5083), reused 6965 (delta 4677)
fatal: The remote end hung up unexpectedly
fatal: expected ok/error, helper said '2004k¡oe