github 提交报403 forbidden的错误解决
2012-04-10 17:22
211 查看
问题描述:
$ git push
error: The requested URL returned error: 403 Forbidden while accessing
解决方案:
这是权限问题,可以修改.git/config文件追加用户名和密码
详细:
From:http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed
To definitely be able to login using
Then you'll be asked for a password when trying to
In fact, this is on the http authentication format. You could set a password too:
You should be aware that if you do this, your github password will be stored in plaintext in your .git directory, which is obviously undesirable.
$ git push
error: The requested URL returned error: 403 Forbidden while accessing
解决方案:
这是权限问题,可以修改.git/config文件追加用户名和密码
详细:
From:http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed
To definitely be able to login using
httpsprotocol, you should first set your authentication credential to the git Remote URI:
git remote set-url origin https://yourusername@github.com/user/repo.git
Then you'll be asked for a password when trying to
git push.
In fact, this is on the http authentication format. You could set a password too:
https://youruser:password@github.com/user/repo.git
You should be aware that if you do this, your github password will be stored in plaintext in your .git directory, which is obviously undesirable.
相关文章推荐
- github 提交报403 forbidden的错误解决
- github 提交报403 forbidden的错误解决
- github 提交报403 forbidden的错误解决
- github 提交报403 forbidden的错误解决
- github 提交报403 错误解决方法
- 权限问题导致Nginx 403 Forbidden错误的解决方法
- Nginx报403 forbidden错误 (13: Permission denied)的解决办法
- nginx “403 Forbidden” 错误的原因及解决办法
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- SVN提交数据(Commit)失败问题(MKACTIVITY ... 403 Forbidden)解决方法
- TFS 2010 SharePoint project portal 403 forbidden 错误的解决
- 解决Nginx服务器中403 forbidden的错误
- SVN提交代码出现403 Forbidden的错误
- nginx服务器报403 forbidden错误的解决办法
- 解决Apache下403 Forbidden错误
- 解决apache下http请求403 Forbidden错误
- nginx 403 Forbidden 错误怎么解决?
- Apache [forbidden 403]错误的解决办法
- Github push 错误The requested URL returned error: 403 Forbidden while accessing
- 解决Apache下403 Forbidden错误