其他分享
首页 > 其他分享> > 公司里使用gitlab管理项目

公司里使用gitlab管理项目

作者:互联网

一、项目文件夹已存在

1、登陆公司的gitlab并创建一个空项目
2、进入本地项目文件夹

    cd myproject
    git init
    git add .
    git commit -m "Initial commit"
    git push -u origin master

3、 刷新gitlab网页,应该可以看到项目文件了

   报错:
   error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
   fatal: the remote end hung up unexpectedly
   fatal: the remote end hung up unexpectedly
   本地cache太小导致的,进入.git文件夹,编辑config文件,加入以下:
   [http]
          postBuffer = 524288000

标签:git,end,管理,gitlab,unexpectedly,文件夹,项目
来源: https://www.cnblogs.com/mysql-dba/p/13869522.html