-
Notifications
You must be signed in to change notification settings - Fork 264
Git problems when 'YOUR_GITHUB_ACCOUNT' is not replaced #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That could be the problem. Fix the name in Git and please report back if that resolves the issue. |
I did fix the name in GIT but no change...hmmm. What is it that I am not seeing. It seems something is missing in the manual. Then I get: |
Did you resolve this issue? |
Yes. I erased previous installed version of learn-rails and started over. I checked stackoverflow and used: git push origin +HEAD |
I've mentioned this problem in the newest edition of the book and linked back here. |
In my case problem was in missed step on creating repo in my github account. |
Here's what you need to know. If you blindly copy and paste the command shown in the book:
You have told git that there is a repo named YOUR_GITHUB_ACCOUNT on GitHub. So try this:
That will reverse the problem you created. Then you can go back to the book and follow the steps again to add GitHub as a remote repository for your project. |
In the first GIT chapter when I enter command git push -u origin master I get: remote: Repository not found.
fatal: repository 'https://github.com/YOUR_GITHUB_ACCOUNT/learn-rails.git/' not found
I have entered name and password in GIT but the first time I accidentally entered the line with YOUR_Github_account....
Does this has anything to do with that now the Repository not found?
The text was updated successfully, but these errors were encountered: