remote:GitLab:无法授权您的Git请求:内部API无法访问

时间:2017-06-16 20:06:49

标签: git gitlab

我正在尝试将现有的Prestashop项目推送到gitlab但我收到以下错误:

{user}@{host}:/var/www/html/{project}# git push -u origin master
Password for 'https://{gitlab.com-user}@gitlab.com': 
Counting objects: 20891, done.
Compressing objects: 100% (14218/14218), done.
Writing objects: 100% (20888/20888), 168.58 MiB | 6.25 MiB/s, done.
Total 20888 (delta 5567), reused 20881 (delta 5563)
remote: Resolving deltas: 100% (5567/5567), completed with 2 local objects.
remote: GitLab: Failed to authorize your Git request: internal API unreachable
To https://{gitlab.com-user}@gitlab.com/{project}/{project}.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://{gitlab.com-user}@gitlab.com/{project}/{project}.git'

我的.gitignore文件是:

# Private files
# The following files contain your database credentials and other personal data.

#config/settings.*.php

# Cache, temp and generated files
# The following files are generated by PrestaShop.

#admin-dev/autoupgrade/
admin*/autoupgrade/
/cache/
!/cache/index.php
!/cache/cachefs/index.php
!/cache/purifier/index.php
!/cache/push/index.php
!/cache/sandbox/index.php
!/cache/smarty/index.php
!/cache/tcpdf/index.php
config/xml/*.xml
/log/*
*sitemap.xml
themes/*/cache/
modules/*/config*.xml

# Site content
# The following folders contain product images, virtual products, CSV's, etc.

admin*/backups/
admin*/export/
admin*/import/
download/
/img/*
upload/

我使用的gitlab.com免费帐户未安装在我的服务器上。它可以是项目的大小吗?提交或回购是否有大小限制?我应该忽略其他目录吗?

提前致谢。

0 个答案:

没有答案