Skip to content

Feature request: Equivalent of git push --recurse-submodules=check to verify submodules have no unpushed or uncommitted changes #389

@radomirbrkic

Description

@radomirbrkic

Is there a way in Gitman to verify that all submodules (gitman.yml dependencies) are fully pushed and consistent with their remotes, similar to git push --recurse-submodules=check?
It would be useful to have a command like "gitman subrepo check" returning 0/1 exit code for scripting pre-push hooks.
Reference: "Git Submodules - Publishing" (https://git-scm.com/book/en/v2/Git-Tools-Submodules#_publishing_submodules)

Read attached file for full explanation.

full-issue-text.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions