github - git push -u origin master failed with encounter the issue of permission denied -
i create new project in rstudio, , opened github project repository well. however, intend push project implementation github page, git complaints following error:
$ git push -u origin master remote: permission julaitishayiding/mspc.git denied julaiti. fatal: unable access 'https://github.com/julaitishayiding/mspc.git/': requested url returned error: 403 i used git command this:
cd /path/to/my/repo rm -rf .git git init git add --all git commit -m "initial commit" git remote add origin "https://github.com/julaitishayiding/mspc.git" $ git pull --rebase origin master git push -u origin master $ git pull origin master edit:
i tried of adding .gitignore file using git add .gitignore, still can't work solving permission denied problem. .gitingore file has following content:
.rproj.user .rhistory .rdata i looked related post in so, , tried of them git permission denied, still, can't solve problem. can me out issue? how fix bug? idea? in advance :)
looks not have permission push repository https://github.com/julaitishayiding/mspc.git/. push repository either have owner of repository or have collaborator of repository. either go repository settings , add collaborator or ask owner add collaborator.
if it's not repository , you're not able collaborator can fork repository account, changes , create pull request original repository. pull request has accepted owner or collaborator of repository.

Comments
Post a Comment