I had been working on Github contributions. I have cloned a repo from someone and made changes. Then I tried to push it, it shows:
$ git push -u origin
remote: Permission to PronayTheVirus/LMSLibraryManagementSystem.git denied to SanjayRam07.
fatal: unable to access 'https://github.com/PronayTheVirus/LMSLibraryManagementSystem.git/': The requested URL returned error: 403
Then I created a new branch and added all files by git add . and committed. Then, again I tried to push and it shows the same. What I need to do.
Expects:
To solve this issue and to push it.
>Solution :
If you want to contribute a merge request to another repo you’ll need to fork it first:
-
Go to the project
-
Make changes
-
Push to your fork (make a new branch if needed)
-
Push to your fork
-
Create a pull request from your fork to the upstream repo
(There will be a ‘Contribute’ button on your fork’ed repo page to simply this action)