Permission Denied(publickey) 解决

1.生成公钥和私钥放到C:\Users\itservice\.ssh,并在oschina添加公钥

http://blog.crazyphper.com/?p=3472

2.添加本地仓库到远程仓库:
http://blog.csdn.net/xdonx/article/details/8860310

1. git init
2. git add .
3. git commit -am "###"      -------以上3步只是本地提交
4.git remote add origin [email protected]:repos/xxx/xxx/xxx.git
5.git push origin 本地分支:远程分支

猜你喜欢

转载自ahua186186.iteye.com/blog/2311303