0
我卸在Heroku上的應用ROR和我面臨一個問題:致命的:HTTP請求失敗和其他問題:錯誤:請求的URL返回的錯誤:在訪問https://github.com/priroda/first_app.git/info/refs致命的:HTTP請求失敗
[email protected]:~$ mkdir rails_projects
[email protected]:~$ cd rails_projects
[email protected]:~/rails_projects$ rails new first_app
[email protected]:~/rails_projects$ cd first_app
[email protected]:~/rails_projects/first_app$ git init
Initialized empty Git repository in /home/ark/rails_projects/first_app/.git/
[email protected]:~/rails_projects/first_app$ git add .
[email protected]:~/rails_projects/first_app$ git commit -m "Initialize repository"
[email protected]:~/rails_projects/first_app$ git log
commit e8586bdf77a1aa260c25987c4860891333659033
Author: Ark <[email protected]>
Date: Fri Jun 20 19:21:19 2014 +0400
Initialize repository
[email protected]:~/rails_projects/first_app$ git remote add origin https://github.com/priroda/first_app.git
[email protected]:~/rails_projects/first_app$ git push -u origin master
Username for 'https://github.com': priroda
Password for 'https://[email protected]':
error: The requested URL returned error: 403 while accessing https://github.com/priroda/first_app.git/info/refs
fatal: HTTP request failed
看看這個問題:http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed –