如何修复推送到原点的 gitolite.conf 中损坏的语法
我在 gitolite-admin.git 存储库的本地克隆上的 gitolite.conf 中添加了通配符存储库部分
,但我突然在存储库名称中使用损坏的正则表达式推送了提交:
repo private/CREATOR/[A-z0-9_-+]
现在 gitolite 声称此正则表达式无效,我已经尝试过:
git reset HEAD^1 --hard
git push --force
但是这没有帮助,gitolite 仍然声称正则表达式损坏:/
I've added section for wildcards repos in gitolite.conf on my local clone of gitolite-admin.git repo
but i suddenly pushed commit with broken regex in repo name:
repo private/CREATOR/[A-z0-9_-+]
now gitolite claims that this regex is invalid, i've tryed:
git reset HEAD^1 --hard
git push --force
but this not helps, gitolite still claims about broken regex :/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我找到了答案,gitolite 安装附带的 gl-dont-panic 脚本女巫已经解决了问题
OK i found answer, gl-dont-panic script witch comes with gitolite installation has solved the issue