GitLab Documentation - GitLab 中文文档

GitLab 中文文档

GitLab Documentation

GitLab Documentation

Welcome to GitLab, a Git-based fully featured platform for software development!

GitLab offers the most scalable Git-based fully integrated platform for software development, with flexible products and subscription plans:

  • GitLab Community Edition (CE) is an opensource product, self-hosted, free to use. Every feature available in GitLab CE is also available on GitLab Enterprise Edition (Starter and Premium) and
  • GitLab Enterprise Edition (EE) is an opencore product, self-hosted, fully featured solution of GitLab, available under distinct subscriptions: GitLab Enterprise Edition Starter (EES), GitLab Enterprise Edition Premium (EEP), and GitLab Enterprise Edition Ultimate (EEU).
  • SaaS GitLab solution, with free and paid subscriptions. is hosted by GitLab, Inc., and administrated by GitLab (users don't have access to admin settings).

GitLab EE contains all features available in GitLab CE, plus premium features available in each version: Enterprise Edition Starter (EES), Enterprise Edition Premium (EEP), and Enterprise Edition Ultimate (EEU). Everything available in EES is also available in EEP. Every feature available in EEP is also available in EEU.


GitLab CI/CD Other
Quick start guide API
Configuring .gitlab-ci.yml SSH authentication
Using Docker images GitLab Pages

Getting started with GitLab

User account 用户账号

  • User account: Manage your account
    • Authentication: 使用 two-factor (两步验证或者双重验证) 增强账号安全性,设置并部署 ssh keys 保护项目访问安全性。
    • Profile settings: 管理您的个人设置,two-factor 等其他设置。
  • User permissions: 了解项目中每个角色 (external/guest/reporter/developer/master/owner) 拥有的权限。

Projects and groups 项目和群组


Manage your repositories from the UI (user interface):

Issues and Merge Requests (MRs)

Git and GitLab

  • Git: Getting started with Git, branching strategies, Git LFS, advanced use.
  • Git cheatsheet: Download a PDF describing the most used Git operations.
  • GitLab Flow: explore the best of Git with the GitLab Flow strategy.

Migrate and import your projects from other platforms

Continuous Integration, Delivery, and Deployment

  • GitLab CI: Explore the features and capabilities of Continuous Integration, Continuous Delivery, and Continuous Deployment with GitLab.
    • Auto Deploy: Configure GitLab CI for the deployment of your application.
    • Review Apps: Preview changes to your app right from a merge request.
  • GitLab Cycle Analytics: Cycle Analytics measures the time it takes to go from an idea to production for each project you have.
  • GitLab Container Registry: Learn how to use GitLab's built-in Container Registry.


  • API: Automate GitLab via a simple and powerful API.
  • GitLab Webhooks: Let GitLab notify you when new code has been pushed to your project.


  • Project Services: Integrate a project with external services, such as CI and chat.
  • GitLab Integration: Integrate with multiple third-party services with GitLab to allow external issue trackers and external authentication.
  • Trello Power-Up: Integrate with GitLab's Trello Power-Up

Administrator documentation 管理员文档

Administration documentation applies to admin users of GitLab self-hosted instances:

  • GitLab Community Edition
  • GitLab Enterprise Editions
    • Enterprise Edition Starter (EES)
    • Enterprise Edition Premium (EEP)
    • Enterprise Edition Ultimate (EEU)

Learn how to install, configure, update, upgrade, integrate, and maintain your own instance. Regular users don't have access to GitLab administration tools and settings.

Contributor documentation 代码贡献文档

GitLab Community Edition is opensource and Enterprise Editions are opencore. Learn how to contribute to GitLab: