Ver todas las sucursales del proyecto, incluidas las sucursales locales y remotas:
git branch -a
Ver la rama remota:
git branch -r
Eliminar la sucursal local:
git branch -d 分支名
Eliminar etiqueta remota
git push origin :refs/tags/名称
La rama creada de forma remota no se muestra en la idea:
Linux Check git version:
cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
Comandos comunes de 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 # 查看日志