gpt4 book ai didi

git push origin master -> 被 fallthru 拒绝

转载 作者:太空狗 更新时间:2023-10-29 14:39:46 35 4
gpt4 key购买 nike

当我尝试“git push origin master”时,我收到错误“DENIED by fallthru”

过去三个小时我一直在谷歌上搜索。我不知道如何修复它。

gitolite.log

2012-10-15.16:43:47 16930   ssh ARGV=david_neudorfer_lbox_com_1350337154    SOC=git-receive-pack 'Treasure-Hunt.git'    FROM=10.0.4.185
2012-10-15.16:43:47 16930 repo 'Treasure-Hunt' missing
2012-10-15.16:43:47 16930 access(Treasure-Hunt, david_neudorfer_lbox_com_1350337154, W, 'any'),-> W any Treasure-Hunt david_neudorfer_lbox_com_1350337154 DENIED by fallthru
2012-10-15.16:43:47 16930 trigger,Writable,access_1,ACCESS_1,Treasure-Hunt,david_neudorfer_lbox_com_1350337154,W,any,W any Treasure-Hunt david_neudorfer_lbox_com_1350337154 DENIED by fallthru
2012-10-15.16:43:47 16930 die W any Treasure-Hunt david_neudorfer_lbox_com_1350337154 DENIED by fallthru<<newline>>(or you mis-spelled the reponame)

gitolite.conf

repo    test_project
RW+ = david_neudorfer_lbox_com_1350344583
repo projectsmadesimple-web
RW+ = david_neudorfer_lbox_com_1350344583
repo treasure-hunt
RW+ = david_neudorfer_lbox_com_1350344583

我注意到名字后面的数字不一样。希望这与它有关,我尝试过:

repo    test_project
RW+ = david_neudorfer_lbox_com_1350344583
RW+ = david_neudorfer_lbox_com_1350337154

没用。任何建议都会很棒。

最佳答案

作为cjc343 comments ,最后一个错误行告诉:

2012-10-15.16:43:47 16930   die W any Treasure-Hunt 
DENIED by fallthru
(or you mis-spelled the reponame)

该错误消息来自 main() function of src/gitolite-shell , 在调用 src/lib/Gitolite/Conf/Load.pm repo_missing() function 后.

sub repo_missing {
my $repo = shift;
sanity($repo);

return not -d "$rc{GL_REPO_BASE}/$repo.git";
}

它寻找一个目录,在 Unix 系统上,该目录区分大小写。

然后您需要解决 id 问题:您应该始终使用相同的名称进行身份验证。

关于git push origin master -> 被 fallthru 拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12905870/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com