gitlab命令行

1、clone

$ git clone http://172.17.2.30:9980/ciiczj/document.git

或者

$ git clone -b <branchName> http://172.17.2.30:9980/ciiczj/document.git

2、转到document文件夹下

$ cd document

3、add到缓存

$ git add .

4、commit到本地

$ git commit -m '添加af_info字段'

5、push到服务器

$ git push

 

其中可能分支没有权限什么的,可以查看分支的命令行

$ git branch -r

 

posted @ 2023-01-30 13:39  江境纣州  阅读(33)  评论(0编辑  收藏  举报