Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3511

Closed
Open
Created Apr 04, 2013 by Administrator@rootOwner

[New feature] clone all projects as a submodule of a group, a group-repository-feature

Created by: santeriv

It would be nice feature to grab all projects from group as submodules and group being a top level git project having those submodules.

Eg. page http://gitlab/groups/mytestgroup could show a guide

  • either how to init a new repo and
#0-level solution provide just guide
mkdir mytestgroup
cd mystestgroup
git init
#... these lines printed based on Projects belonging to group
git submodule add repourl1.git
git submodule add repourl2.git
git submodule add repourl3.git
#... loop ends
  • or just implement the auto-creation (if the 'group'-repo does not exist) of mytestgroup git repo on server side
#non-trivial solution
git clone -r http://gitlab/groups/mytestgroup.git
or
git clone http://gitlab/groups/mytestgroup.git
git submodule init
Assignee
Assign to
Time tracking