134 134 # check git submodules 135 135 #********** 136 136 137 - SUBMODULES = boost-pfr doctest lzma-sdk range uclvalgrind zlib zstd 137 + SUBMODULES = doctest lzma-sdk ucl valgrind zlib 138138 139 139 du
When you add a Git submodule path to your repository, Git creates a special entry in your repository'sconfig file that points to the submodule's URL and the location where it should be cloned. When you clone the main repository, Git will automatically clone the submodules as well, and ini...
add_subdirectory(submodules/leveldb-mcpe) FetchContent_Declare( leveldb_mcpe GIT_REPOSITORY https://github.com/Amulet-Team/leveldb-mcpe.git GIT_TAG 4846fc72c7eda860b1bcf6efc58920a9273da928 ) FetchContent_MakeAvailable(leveldb_mcpe) # Add python extension pybind11_add_module(_leveldb src/level...
In addition to the entry Git created in the.git/configfile, Git also creates a new entry in the special.gitmodulesfile. Notably, this file stores the configuration for all submodules we create. Further,the.gitmodulesfile is an important component of submodule management as it contains the map...
git submodule This will list all the submodules in your repository. Remove the submodule using the deinit command: git submodule deinit <path_to_submodule> Replace <path_to_submodule> with the relative path to the submodule you want to remove. For example, if your submodule is located in...
Removing Git submodules completely is a three-step process. Git submodule remove example The commands used in the Git submodule delete example are as follows: submodule@example:~$git rm submarinessubmodule@example:~$ rm -rf .git/modules/submarinessubmodule@example:~$ git config -f .git/config...
Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: mynotes.txt We can see that the mynotes.tx...
Thisremoves the wholesubmodule.<name>section from.git/configeither for the given submodule(s)(or for all those which have been initialized if '.' is given). Fail if the current work tree contains modifications unless forced. Complain when for a submodule given on the command line the url se...
git push origin v1.0 # Navigate to your Git repository's root directory cd /path/to/your/repository # Create an annotated tag with a message git tag -a v1.0 -m "version 1.0 is released" # Push the tag to the remote repository
In this example, we shall show how to remove commits from our git’s log history. As we can see, we can commit every time we want because these commits will persist in our local machine and nobody can access to them if push have not been performed to the git central repository. Commi...