Gitlab相关,【推送项目】

推送现有文件夹

bash 复制代码
cd existing_folder
git init
git remote add origin git@10.200.5.138:taps/archetech.git
git add .
git commit -m "Initial commit"

git pull -u origin master

另外

bash 复制代码
git branch -b new_branch  //创建本地分支并切换
git branch  //查看本地分支
git branch <name>  //创建name的分支
git branch -r  //查看远程分支
git branch -a   //查看本地分支和远程分支
git branch -vv   //查看本地分支对应的远程分支
相关推荐
GoodStudyAndDayDayUp1 天前
gitlab私有化跑CICD
gitlab·gitlab私有化跑cicd
成为你的宁宁1 天前
【Gitlab测试项目】
gitlab·devops
_可乐无糖3 天前
GitLab CI 脚本之 CI_COMMIT_AUTHOR
ci/cd·gitlab
_可乐无糖4 天前
GitLab CI 脚本之 dependencies 和 needs
ci/cd·gitlab
Fan_5585 天前
4核8G云服务器部署GitLab内存耗尽解决方案
gitlab
洋就在江州5 天前
gitlab-cicd 离线集成——springboot-cicd (非docker形式,shell形式)
java·spring boot·后端·ci/cd·gitlab·gitlab-runner
成为你的宁宁6 天前
【Ubuntu 18.04安装Gitlab】
ubuntu·gitlab
长春的KAKA6 天前
GitLab 项目页面报 500 错误的完整修复记录:PostgreSQL 数据库损坏、统计表缺失及数据库迁移
数据库·postgresql·gitlab
蓝胖的四次元口袋6 天前
GitLab知识梳理
gitlab
极小狐15 天前
CI 作业里 kubectl 连不上集群?用 Kubernetes Agent 打通部署链路的 7 个步骤
ci/cd·kubernetes·gitlab·devops·k8s部署