8

求熟悉 git 大佬,遇到一个 git 问题阻塞

 1 year ago
source link: https://www.v2ex.com/t/901504
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  git

求熟悉 git 大佬,遇到一个 git 问题阻塞

  badboy17 · 7 小时 6 分钟前 · 1010 次点击

公司用得是 codeup 云效做代码管理平台,我是 windows 本,本地装了 git ,我拥有 A 项目和 B 项目的开发权限和 git 的读写权限(包括 pull,clone,push ),但是我的 A 项目,可以 clone 下来,但是不能 push,我的 B 项目正常,可以 Pull ,也可以 push,我本地用得是 ssh 公钥,在远端配置上了。

git 无法 push ,报错是 remote: PermissonDenied: Permission deny: You are not allowed to push this branch to codeup.xxxxxx.git (pre-receive hook declined) error: failed to push some refs to codeup.xxxxx.git

我试过换一个分支,删除 ssh 公钥,重新生成,把 git 卸载重装,都失败了,但是在另一台机器上,用我的账号是可以 Push 的了,所以可能还是我的 git 客户端这边的问题,这个问题阻塞挺长时间了,求大佬帮助,可以有偿


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK