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   //查看本地分支对应的远程分支
相关推荐
cuijiecheng201814 小时前
GitLab创建项目
gitlab
_运维那些事儿2 天前
GitLabCI/CD语法
linux·服务器·git·ci/cd·gitlab·运维开发·devops
_运维那些事儿2 天前
GitLab&Jenkins
运维·ci/cd·gitlab·jenkins·devops
Jeacean3 天前
gitlab 仓库所有分支开启分支保护脚本
gitlab
nhfc993 天前
Gitlab备份且提交Windows服务器数据
服务器·windows·gitlab
Knight_AL3 天前
Jenkins 配置 GitLab 认证并实现自动化部署
自动化·gitlab·jenkins
危笑ioi4 天前
docker部署jenkins/gitlab/nexus3/nginx配置端口转发与ssl
nginx·docker·gitlab·jenkins·ssl
木易 士心6 天前
GitLab 安装指南
git·gitlab
Linux运维技术栈6 天前
GitLab社区版备份优化:3M包为何是独立完整备份?
运维·git·gitlab
z.q.xiao7 天前
【镜像模式】WSL如何访问windows内网服务
linux·网络·windows·gitlab·wsl·dns