Fatal Remote Error Git Repository Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might fatal repository not found gitlab have Meta Discuss the workings and policies of this site About
Git Push Fatal Remote Error Repository Not Found
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads push failed failed with error fatal repository not found with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million fatal repository not found bitbucket programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Github: ERROR: Repository not found. fatal: The remote end hung up unexpectedly (different from similar posts apparently) up vote 23 down vote favorite I created a directory hello_git. In this directory I created a file hello_git.py which prints out
Github Check Permissions
a "Hello git!" message. Then I made hello_git my current directory in the terminal and entered the following commands one after another in that directory: git init git add hello_git.py git commit -m 'first commit' git remote add origin git@github.com:githubaccountname/hello_git.git When I enter the command git push origin master I get asked: Enter passphrase for key '/home/myusername/.ssh/id_rsa': When I enter my passphrase (which authenticates succesfully using ssh -T git@github.com) I get this: ERROR: Repository not found. fatal: The remote end hung up unexpectedly I don't know if this helps, but: git remote -v returns: origin git@github.com:githubaccountname/hello_git.git (fetch) origin git@github.com:githubaccountname/hello_git.git (push) I have looked into answers of similar posts but nothing seems to work: fatal: The remote end hung up unexpectedly while pushing to git repository Github ERROR: Repository not found. fatal: The remote end hung up unexpectedly GitHub - How to resolve this issue of preventing push to origin? git github share|improve this question edited Sep 11 '12 at 20:49 asked Jun 6 '12
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business github check access rights Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs fatal repository not found sourcetree Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just
Remote Repository
like you, helping each other. Join them; it only takes a minute: Sign up Git Push ERROR: Repository not found up vote 73 down vote favorite 13 I am having a very strange problem with git and http://stackoverflow.com/questions/10922028/github-error-repository-not-found-fatal-the-remote-end-hung-up-unexpectedly github. When I try and push, I am getting: git push -u origin master ERROR: Repository not found. fatal: The remote end hung up unexpectedly I added the remote: git remote add origin git@github.com:account-name/repo-name.git Any ideas? git github git-push share|improve this question asked Apr 12 '12 at 1:48 Justin 8,39130104175 2 Stupid question, but I have to ask... did you create the repository on GitHub? –Greg Hewgill Apr 12 '12 at 1:50 1 http://stackoverflow.com/questions/10116373/git-push-error-repository-not-found Yes that is how I got the git remote add origin git@github.com:account-name/repo-name.git. It exists in GitHub, and its a private repo. –Justin Apr 12 '12 at 1:51 1 did you double check your user and repo names? –thescientist Apr 12 '12 at 1:54 2 did u change your github user name –Ankit May 5 '12 at 3:28 1 Same problem, no solution so far. –markus Nov 9 '13 at 21:56 | show 3 more comments 24 Answers 24 active oldest votes up vote 104 down vote I just ran into this issue as well. I had been added to an existing project. I cloned it and committed a local change. I went to push and got the ERROR: Repository not found. error message. I realized that the person who added me only gave me read-only access to the repo. A quick email to him and I'm able to push. Check to see if you have read-write access. Good luck! share|improve this answer answered Apr 19 '12 at 19:04 JT. 1,286178 34 Gotta love those useful Git error messages. Can't find the repository that I just cloned from, huh? Liar. –Grant Birchmeier Jul 13 '12 at 15:47 2 good catch ! this is a nasty one to realize –Michael Jan 4 '13 at 0:41 yep sam
321 Network Create a new issue Commits Issue Boards Closed Open Issue #355 opened 2015-10-05 16:06:22 UTC by Vazy@parliament718 https://gitlab.com/gitlab-com/support-forum/issues/355 remote: Not Found fatal: repository 'https://gitlab.com/my/code.git/' not found I'm using the hosted Gitlab service and I can't seem to push or pull to a new https://jptacek.com/2014/01/git-repository-not-found/ repository. I tried creating a new repo 3 times and followed the exact commands: cd existing_folder git init git remote add origin https://gitlab.com/my/code.git git add . git commit git push -u repository not origin master I'm using the hosted Gitlab service and I can't seem to push or pull to a new repository. I tried creating a new repo 3 times and followed the exact commands: ``` cd existing_folder git init git remote add origin https://gitlab.com/my/code.git git add . git commit git push repository not found -u origin master ``` Edited 2016-09-24 18:43:24 UTC 1 1 niv @niv commented 2015-10-06 22:26:52 UTC I just wrote couple of hours ago that I think they have a wrong description, try to use https://YOUR_USER_NAME@gitlab.com/my/code.git instead of the link they give does that work ?Edited 2015-10-06 22:27:37 UTC 1 Vazy @parliament718 commented 2015-10-07 17:32:35 UTC It worked, thank you! Vazy @parliament718 2015-10-07 17:32:37 UTC Status changed to closed Felix Ivan Romero RodrÃguez @firomerorom4 commented 2016-06-15 15:32:36 UTC This is not working, i am having the same issue 1 Rijesh @rijeshpk commented 2016-06-16 13:36:41 UTC @firomerorom4 , try the way @niv suggested. I had the same issue and worked using this way. Felix Ivan Romero RodrÃguez @firomerorom4 commented 2016-07-19 15:27:54 UTC There is no solution. If I try to push it prompts me To https://firomerorom4@gitlab.com/firomerorom4/mychat.git/ ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://firomerorom4@g
my workflow goes something like this... Commit GitHub changes via WebStorm If that doesn't work, use the GitHub Windows/WPF client http://windows.github.com/ Use command line Git While I want to get better at 3, 1 is much easier and when I do 2, I am in a hurry. :) Ultimately, I am not really sure what happened. My development environment worked fine yesterday when I committed changes, but today there were issues. I THINK it may have to do with case differences between when I setup the repository locally and how GitHub may be handling it on the backend today. When I pushed my commit to the repo with the command git push origin master The following error was returned remote: Repository not found. fatal: repository 'http://github.com/jptacek/JPTACEK.com.git/' not found You can see the message below Again, no changes have been made to the repo. Similar messages appeared in the GitHub client and WebStorm. Other repositories I had on GitHub I was able to commit and push changes to. The only thing I could think was that the case was different on my local origin in comparison to the backend GitHub repository. The fix was simple enough, reset the origin with and change the case of the URL so that it was exactly the same as my repository on GitHub. git remote set-url origin https://github.com/jptacek/JPtacek.com.git After this, I was then able to commit changes without issue in all the different client apps as well as the command line. as shown in the following screen shot It strikes me as pretty odd that GitHub would suddenly stop working because of a case issue between my local dev machine, which has been working fine for many months, and the GitHub server. However, that appears to be the case in this instance. Pretty much just documenting this for my future self :) Posted In: GitHub, Web Help improve this blog by submitting a pull request. I'm John Ptacek, a software developer for Skyline Technologies. This blog is my contains my content and opinions, which are not those of my employer. Currently, I am reading Imajica by Clive Barker @jptacek • GitHub • LinkedIn • Stack Overflow • Google+ Please enable JavaScript