Read the statement by Michael Teeuw here.
write access to git repository
-
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 -
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…
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login