View all branches of the project, including local and remote branches:
git branch -a
View the remote branch:
git branch -r
Delete the local branch:
git branch -d 分支名
Delete remote tag
git push origin :refs/tags/名称
The remotely created branch is not displayed in idea:
Linux Check git version:
cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
Common commands of gitlab:
gitlab-ctl start # 启动所有 gitlab 组件
gitlab-ctl stop # 停止所有 gitlab 组件
gitlab-ctl restart # 重启所有 gitlab 组件
gitlab-ctl status # 查看服务状态
gitlab-ctl reconfigure # 启动服务
vim /etc/gitlab/gitlab.rb # 修改默认的配置文件
gitlab-rake gitlab:check SANITIZE=true --trace # 检查gitlab
gitlab-ctl tail # 查看日志