Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • Requirements
    • Requirements
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #41213

Closed
Open
Created Dec 18, 2017 by Tino Goratsch@tinogo

Update Git submodule via commits API

Description

In order to be able to automate some workflows, we are currently seeking a way how to update the commit SHA of a submodule via Gitlab's Commits API.

Proposal

Imagine you have updated a submodule with some changes, etc. and you now want to update all the projects which are using this submodule to this specific commit SHA. Besides updating "normal" files, the Gitlab Commits API should also be able to update the Commit SHA of submodules.

Edited Mar 11, 2018 by Tino Goratsch
Assignee
Assign to
Time tracking