SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast laresistance2's Avatar
    Join Date
    May 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Permission error when I send a new project on GitHub

    Hi all,
    I have already sent a project on GitHub with a SSH key and everything went well.
    Now I created a second project, but then he tells me every time this error when I type the command "git push origin master"

    Code:
    ERROR: Permission john/Rails-project.git denied to john/Rails-project.
    fatal: The remote end hung up unexpectedly
    Do you have an idea of the problem?

    Thanks.

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,329
    Mentioned
    191 Post(s)
    Tagged
    4 Thread(s)
    You need to first create the repository on Github before you can make pushes to it.
    When you create a repo on Github the process concludes with a page that describes how to "init" and then "push"
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •