• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

write access to git repository

Scheduled Pinned Locked Moved Solved Troubleshooting
3 Posts 2 Posters 1.0k Views 2 Watching
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 Offline
    sten82
    last edited by May 30, 2018, 3:27 PM

    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 Offline
      sdetweil
      last edited by sdetweil May 30, 2018, 6:24 PM May 30, 2018, 6:24 PM

      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

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 2
      • S Offline
        sten82
        last edited by May 30, 2018, 7:07 PM

        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
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy