I create a new repository in my local and complete the changes. After that, I opened my Github desktop to push the changes to my GitHub repo. As soon as I click the publish button it gave me this error ‘https://github.com/openmrs/openmrs-core.git/’: The requested URL returned error: 403" How can I solve this issue?
hello @lufafa it seems you are pushing to upstream core repo and not origin,am thinking that’s why you are getting that error because you can only push to your origin and and then create a pull request to be reviewed and merged into the upstream core repo…
KIndly fork from upstream and then clone from origin to your local… Thanks
Fork it fist push the changes to the fork
you may want to checkout this…https://www.youtube.com/watch?v=SbbDvMVgRWo&t=321s
@ayesh i have followed the procedure but i have the same problem.
@gcliff i did this and still get the same results
You have to change the remote head to you’re fork ohterwise u cant push
When you do git remote -v within your project/module on command line, what is the output? Please share that
Please follow this guide by git hub
This means you are pushing to a remote that you don’t have access. Please configure it to your remote(your folk make it origin) and later if you want to contribute that to openmrs core(which should be you upstream), create a PR for that. NOT all people have the POWERS to commit to openmrs core bro! follow @ayesh link
@lufafa Fork the repo, clone it into your local machine,Make sure your upstream is up to date, then create a new branch. You can only push codes to your origin but creating a pull request from the master branch must be up to date.
hello @lufafa where u able to resolve this issue ?
if not,can we meet at irc and we get this done!!
hello @gcliff, I’m working on it. in good time i’ll be through and update you all my friends who have helped me
thats cool @lufafa
can u please share here how you resolved it so that any other dev who gets the same problem might refer to this thread for the solution that u shared
@gcliff well i tried all the options and got a fail at the end. so i deleted the project and started all over. with the guidelines as advised in the link. thought that was easier way to go.