HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

git delete-submodule — Delete a submodule from a Git repository. Part of `git-extras`. More information: <https://github.co

Submitted by: @import:tldr-pages··
0
Viewed 0 times
deletecommandgitfromclisubmodulerepositorygit delete-submodule

Problem

How to use the git delete-submodule command: Delete a submodule from a Git repository. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-submodule>.

Solution

git delete-submodule — Delete a submodule from a Git repository. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-submodule>.

Delete a specific submodule:
git delete-submodule {{path/to/submodule}}

Code Snippets

Delete a specific submodule

git delete-submodule {{path/to/submodule}}

Context

tldr-pages: common/git delete-submodule

Revisions (0)

No revisions yet.