diff options
author | Sofia Wallin <sofia.wallin@ericsson.com> | 2017-08-29 08:50:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-29 08:50:13 +0000 |
commit | ce2fe6f7a07ca2b0faed4900c55bbf5ffc07a153 (patch) | |
tree | 3f2a737bc5d9a9c424c074c31520aa487a34beaf /docs/how-to-use-docs | |
parent | 20bcf208e16aa039ef9d8338971c5ef53da23682 (diff) | |
parent | 1f7c3cefc0563d9e55c53b916d3c7fa3d5e43a6d (diff) |
Merge "Add docs on how to remove a submodule"
Diffstat (limited to 'docs/how-to-use-docs')
-rw-r--r-- | docs/how-to-use-docs/include-documentation.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/how-to-use-docs/include-documentation.rst b/docs/how-to-use-docs/include-documentation.rst index 7e9d54462..d1a5a6227 100644 --- a/docs/how-to-use-docs/include-documentation.rst +++ b/docs/how-to-use-docs/include-documentation.rst @@ -240,4 +240,15 @@ Clone the opnfvdocs repository and your submodule to .gitmodules following the c git submodule init $reponame/ git submodule update $reponame/ git add . + git commit -sv git review + +Removing a project repository as a submodule +-------------------------- + git rm docs/submodules/$reponame + rm -rf .git/modules/$reponame + git config -f .git/config --remove-section submodule.$reponame 2> /dev/null + git add . + git commit -sv + git review + |