git push error
新安装的电脑,当然要clone一下git啦
[ cd ~/workspace ] && git clone git://github.com/kingkongmok/linux
这里是成功的,但push的时候出现异常:
fatal: remote error:
You cant push to git://github.com/my_user_name/my_repo.git
Use git@github.com:my_user_name/my_repo.git
万能的stackoverflow解决我的问题
git remote set-url origin git@github.com:kingkongmok/perl.git