Github Push 上的权限被拒绝错误 [英] Permission denied error on Github Push

查看:31
本文介绍了Github Push 上的权限被拒绝错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我被添加为 Github 项目的成员/贡献者.我已经在本地机器上克隆了那个项目.

Recently, I'm added as a member/contributor for Github project. I have cloned that project on local machine.

我做了一些更改并在本地提交,现在尝试将更改推送到原始存储库,但是当我尝试推送时,出现一些权限错误?

I have made some changes and committed locally and now trying to Push changes to original repo but when I try to Push,I get some permission error?

C:UsersMMDocumentsGitHubsoftware-licensing-php [master]> git push
origin master
remote: Permission to EasySoftwareLicensing/software-licensing-php.git denied to
 irfandayan.
fatal: unable to access 'https://github.com/EasySoftwareLicensing/software-licen
sing-php.git/': The requested URL returned error: 403
C:UsersMMDocumentsGitHubsoftware-licensing-php [master]> git statu
s
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#   (use "git push" to publish your local commits)
#
nothing to commit, working directory clean

我是否缺乏推送更改的权限,以便我可以询问项目的原始作者?

Am I lacking some permission for pushing changes so I could ask the original author of project?

推荐答案

  • 点击原始github项目页面上的fork按钮
  • 克隆您的分叉存储库而不是原始存储库
  • 推动它
  • 按你的仓库上的 Pull Requests 按钮
  • 创建它
  • 等待原作者接受
  • 这篇关于Github Push 上的权限被拒绝错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆