Question - IDE Cannot push changes on github

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Mitchell Koester, Aug 26, 2017.

  1. Mitchell Koester

    Mitchell Koester Member

    Joined:
    Jun 30, 2016
    Posts:
    9
    I'm working on a game with a friend and I've set up git authentication correctly to my knowledge by putting in my github login into the authentication in the source control settings. My friend is the owner but he's given me contributor permissions. Whenever I try to push it says no valid User/Pass Authentication details found. I have my own separate project that I also use github on, and the login info works for that but not for this project I'm a contributor for.
     
  2. Yazuka

    Yazuka YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    53
    Within your preferences have you set up the user/pass to the full url to the .git location on github or are you doing a generic user/pass for github.com? We've noticed that github has changed something on their end so you can no longer use generic urls for https but ssh still works fine. If you are using ssh then you'll probably need to create a support ticket with a link to the github url and whoever is taking a look will need to be added as a contributor temporarily so we can get this fixed.
     
  3. gnysek

    gnysek Member

    Joined:
    Jun 20, 2016
    Posts:
    1,302
    Did you tried to push from command line (git push) / any other GIT IDE - outside of GMS2 ? That would tell you is this a GMS2 issue, or it's problem with GIT.
     
  4. Mitchell Koester

    Mitchell Koester Member

    Joined:
    Jun 30, 2016
    Posts:
    9
    sorry it's been a while. so I can push inside the github app so I'm pretty sure it's a gameMaker problem
     
  5. idealcastle

    idealcastle Member

    Joined:
    Sep 10, 2018
    Posts:
    25
    This is still a problem. I can not connect to my Github account. I push to git hundreds a times a day. GMS zero. It will not conncet, it will not clone, it will not do anything with git. I add in the SSH keys, I added in the direct logins, I get no errors. I can commit my changes locally, but pushing, fetching etc is all grayed out, unclickable. I try to clone a github repo in GMS and it fails.

    If GMS is not going to work, can I just add raw git on the project directly and push it through CLI ? I feel like that would be more stable than GMS.
     
  6. mccordinator

    mccordinator Member

    Joined:
    Apr 6, 2017
    Posts:
    14
    Having a similar situation with GMS 2. I have it setup with ssh keys and username / pw combo.

    When I try to push via GMS 2 I just get "Push Exception: Failed to start SSH session: Unable to exchange encryption keys".

    From searching around, it looks like this has to do with some change on Github's end that needs to be corrected by GMS 2.

    I can push / pull / etc from the terminal in the folder of this same project having the issue in GMS 2.

    I feel like there should be a fix or update for this by now? (A year later).
     
  7. mccordinator

    mccordinator Member

    Joined:
    Apr 6, 2017
    Posts:
    14
    After some tinkering with it, I'm now getting "Push Exception: The branch 'master' ("refs/heads/master") that you are trying to push does not track an upstream branch.", though I can still push to my repo through the command line.

    Hmm...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice