first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
14
CICD/gitLab.md
Normal file
14
CICD/gitLab.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
安装gitlab
|
||||
修改配置文件
|
||||
执行gitlab-ctl reconfigure,重新加载配置
|
||||
|
||||
git reset -hard HEAD^ # 回滚到上一个版本(本地)
|
||||
git log # 查看版本号
|
||||
git reset -hard commitID # 回滚到指定版本
|
||||
|
||||
git checkout branches_name # 切换到branches_name分支
|
||||
git merge dev # 把dev分支合并到branches_name分支
|
||||
git remote update origin --prune # 更新远程分支列表
|
||||
git branch -a # 查看所有分支
|
||||
git push origin --delete Chapater6 # 删除远程分支Chapater6
|
||||
git branch -d Chapater6 # 删除本地分支 Chapater6
|
Loading…
Add table
Add a link
Reference in a new issue