ERROR: Repository not found message given when following the instructions for Jekyll-Bootstrap

Github pages not working for me when using Jekyll-Bootstrap.

I followed the instructions here:

  • How to install gem from private GitHub repo using 'gem install' command
  • Ruby: Rails: Which version of a gem is used?
  • How to create interdependent gems with bundler, and use repositories as the source?
  • Local override for {gem} at /path/to/local/git/repo is using branch develop but Gemfile specifies develop
  • How do I get the latest commit of public git repo in my gemfile?
  • “modified: Gemfile.lock”, Why?
  • http://jekyllbootstrap.com/
    

    The instructions say:

    $ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com
    $ cd USERNAME.github.com
    $ git remote set-url origin git@github.com:USERNAME/USERNAME.github.com.git
    $ git push origin master
    

    I used the personalized install code (means my github name rather than “USERNAME”)

    I get this error when I try to do the last “$ git push origin master”

    ERROR: Repository not found.
    fatal: The remote end hung up unexpectedly
    

    How do I get this to work?

    Thanks

  • Git autocomplete in bash aliases?
  • Git is slow on pushing submodules change to origin
  • Git cherry combined with git show
  • How to merge two git repositories containing Xcode projects
  • How to use git to checkout a specified version of Webkit?
  • Handle multiple pre-commit hooks
  • 5 Solutions collect form web for “ERROR: Repository not found message given when following the instructions for Jekyll-Bootstrap”

    You have to have created a git repository on GitHub named USERNAME.github.com. Are you new to GitHub? Just make sure you log in and then go to your dashboard which is on http://github.com
    Somewhere on that page you’ll see a button “New repository”. Use that to create a repo named USERNAME.github.com . Once that’s done, run the Jekyll Bootstrap commands again and it should work.

    Let me know how it goes.

    I ran into the same problem. I noticed that the instruction give commands that include USERNAME.github.com while my actual Jekyll-Bootstrap blog is located at USERNAME.github.io.

    I had the same issue when the user had no permissions over the organization. Check its status if you have this problem.

    I face this issue and pull my hair out and figure out the solution. It occurs since your git remote repo still points to github.io. Instead use github.com

     git remote rm origin
     git remote add origin git@github.com:myorganization/myrepo.github.com.git
    

    Then run setup

     rake setup_github_pages
    

    It prompts for repo url, enter your url which has .com extension git@github.com:myorganization/myrepo.github.com.git

    I ran into same problem. I have created username.github.io repository when I cloned the jekyll repo as per the steps:

    $ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.io
    $ cd USERNAME.github.io
    $ git remote set-url origin git@github.com:USERNAME/USERNAME.github.io.git
    $ git push origin master
    

    I also used CNAME file to redirect to my custom domain. It works fine for sometime pushes successfully and can commit. But after sometime it gives the same error.

    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

    At this time _site folder is created on your root at username.github.io
    I couldn’t know the solution yet but deleting the remote repo and pushing into empty repo again.

    Thanks.

    Git Baby is a git and github fan, let's start git clone.