Removed submodule, wrong location

This commit is contained in:
Max 2024-06-16 18:51:52 +02:00
parent fd89b87347
commit 0fcc83b895
3 changed files with 30 additions and 5 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "Modules"]
path = Modules
url = git@github.com:hmaxnl/DotBased.git

@ -1 +0,0 @@
Subproject commit c1d18d5b47f3dec81c5c153b8a66daf921b3eeef

View File

@ -1,3 +1,32 @@
# Submodule
## Add submodule
git submodule add <remote_url> <destination_folder>
git commit -m "Added the submodule to the project."
git push
git submodule update --init --recursive
## Submodule commit
cd <repository>
git add .
git commit -m "Added new commits from the submodule repository"
git push
## Submodule summary
git config --global status.submoduleSummary true
## Update all submoduels ## Update all submoduels
git submodule update --remote --merge git submodule update --remote --merge
## Remove submodule
git rm <path-to-submodule>