赞
踩
目录
gitlab
user Settings(设置)-acess token(访问令牌)
记好token,项目git路径然后 回到gitea
默认情况下,不允许git迁移源是私网ip ;可通过修改配置文件解决
You are not allowed to import from private IPs.
解决方法:修改配置文件gitea/custom/conf/app.ini
追加 :
[migrations]
ALLOW_LOCALNETWORKS = true
ALLOWED_DOMAINS = 127.0.0.1,192.168.1.10
重新启动gitea
迁移成功
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。