摘要:
1. git安装2. 着重记录下如何配置才能正常使用github 2.1 生成ssh-rsa ssh-keygen-trsa-C "your email" 然后在~/.ssh/生成id_rsa.pub和id_rsa两个文件,(如果这俩已经存在,建议备份在其他目录先) 2.2 配置github帐号 git config --global user.name "abc" git config --global user.email "abc@gmail.com" 配置github上的SSH keys(account setting) 将i
阅读全文
posted @ 2013-12-17 12:06
会动的耳朵
阅读(316)
推荐(0)
摘要:
错误代码如下:error: The requested URL returned error: 403 whileaccessing https://github.com/xx-name/sss-app.git/info/refsfatal: HTTP request failed解决方法:1:通过git clone到本地后,在.git/config文件中可以看到该项目路径信息。打开此文件再把项目地址修改为 ssh就Ok了。2:命令: git remote set-url origin ssh://但是 修改后,执行git push -u origin master报:Warning: Per
阅读全文
posted @ 2013-12-17 10:26
会动的耳朵
阅读(373)
推荐(0)