MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED write access to git repository

    Troubleshooting
    2
    3
    718
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sten82 last edited by

      Hey there,

      this is maybe a stupid questions for all you github pro’s, but I’m really struggling to commit a tiny fix and it already costs me some hours to provide this contribution.

      What I have done so far:

      • cloned repository
      • created new branch
      • added changes
      • commit changes

      But when I try to push it fails, however pull from master works.

      ~/Documents/Sandbox/privat/MagicMirror (add-translation)
      git push --set-upstream origin add-translation
      Enter passphrase for key '/c/Users/carsten/.ssh/id_rsa':
      ERROR: Permission to MichMich/MagicMirror.git denied to sten82.
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      
      ~/Documents/Sandbox/privat/MagicMirror (master)
      git pull
      Enter passphrase for key '/c/Users/carsten/.ssh/id_rsa':
      Already up-to-date.
      
      

      I’m running on Windows 10 with git console. I have stored ssh key in Github (and checked if it works) and changed gitconfig to use ssh instead of https.

      What am I doing wrong?

      Thank you in advance,
      Carsten

      1 Reply Last reply Reply Quote 0
      • S
        sdetweil last edited by sdetweil

        YOU cannot push to the core repo… you can create a fork (under YOUR github userid), and then clone/push to THAT repo…

        you can then propose changes to the master repo, by submitting a pull request, for your branch back to the master (and some branch, usually dev) … and the master owner can accept it , or not… and then merge it with the master branch whenever…

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • S
          sten82 last edited by

          Hi sdetweil,

          thank you for the clarification, since I have never contributed before I didn’t knew that. That really helped my a lot.

          Thanks,
          Carsten

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy