Reserved project and group names

Reserved project and group names

并非所有项目和组名都被允许,因为它们会与 GitLab 使用的现有路由冲突.

  • TOP_LEVEL_ROUTES :是保留为用户名或顶级组的名称
  • PROJECT_WILDCARD_ROUTES :是为子组或项目保留的名称.
  • GROUP_ROUTES :是为所有组或项目保留的名称.

当前无法创建具有以下名称的项目:

  • \-
  • badges
  • blame
  • blob
  • builds
  • commits
  • create
  • create_dir
  • edit
  • environments/folders
  • files
  • find_file
  • gitlab-lfs/objects
  • info/lfs/objects
  • new
  • refs
  • tree
  • update
  • wikis

Reserved group names

  • \-
  • .well-known
  • 404.html
  • 422.html
  • 500.html
  • 502.html
  • 503.html
  • abuse_reports
  • admin
  • api
  • apple-touch-icon-precomposed.png
  • apple-touch-icon.png
  • assets
  • autocomplete
  • dashboard
  • deploy.html
  • explore
  • favicon.ico
  • files
  • groups
  • health_check
  • help
  • import
  • invites
  • jwt
  • login
  • oauth
  • profile
  • projects
  • public
  • robots.txt
  • s
  • search
  • sent_notifications
  • slash-command-logo.png
  • snippets
  • unsubscribes
  • uploads
  • users
  • v2

这些组名不能用作子组名: