when you push to the wrong url
I git pushed to the wrong url
git clone git://github.com/mariuz/firebird_scripts.git
git commit -a
Created commit 7365a4d: Modified the README
1 files changed, 2 insertions(+), 2 deletions(-)
mariuz@borkstation64:~/work/firebird_scripts$ git push origin master
fatal: protocol error: expected sha/ref, got '
You can't push to git://github.com/user/repo.git
rm -rf firebird_scripts
instead it should work with this url so i can push
git clone email@example.com:mariuz/firebird_scripts.git
Initialized empty Git repository in /home/mariuz/work/firebird_scripts/.git/
The authenticity of host 'github.com (184.108.40.206)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,220.127.116.11' (RSA) to the list of known hosts.
remote: Counting objects: 116, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 116 (delta 56), reused 116 (delta 56)
Receiving objects: 100% (116/116), 11.51 KiB, done.
Resolving deltas: 100% (56/56), done.