git文件上传到gitlab文档

如何git clone develop 分支数据到本地

git init
git remote add origin http://git.xxx.com:83/xxx/xxx/xxx.git
git pull origin develop --allow-unrelated-histories 
git fetch origin
git checkout develop

和上传东西到developelop 分支

git add *
git commit -m "wrote a readme file"
git push -u origin develop
原文地址:https://www.cnblogs.com/sxgaofeng/p/12403970.html