trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
245 stars 57 forks source link

after all the steps , i still encounter the same issue**Problems:-** #225

Open Ruttz08 opened 1 year ago

Ruttz08 commented 1 year ago
          **Problems:-**

remote: Permission to UserName/repo.git denied to AnotherUserName. fatal: unable to access 'https://github.com/UserName/repo.git/': The requested URL returned error: 403

Solutions You can solve this problem by using lots of methods. But below simple method is written which helps you to solve these issues.

step 1: go to control panel step-2: then go to user accounts step 3: After that go to credential manager step 4: then Windows credentials step 5: go to Generic credentials step 6: finally delete the Github keys.

After done above all the steps then use the push command ->git push -u origin master

After that, you would see a GitHub login form windows will appear. Then you need to log in with your GitHub email and password. After login, you can use push command it will 110% work.

Originally posted by @AuxousTechnology in https://github.com/trilbymedia/grav-plugin-git-sync/issues/39#issuecomment-578143569