-
Notifications
You must be signed in to change notification settings - Fork 34
Hacking
IPADS edited this page Dec 31, 2019
·
2 revisions
Put files into the your-path-to-penglai-enclave/copy-files directory, the ./docker_cmd.sh build
and ./docker_cmd.sh qemu
.
You can see your files in the /root in the qemu.
Please refer the Git Submodule Tutorial from Linux kernel for more information on submodule.
To remove a submodule (dangerous!)
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
(From: https://gist.github.com/myusuf3/7f645819ded92bda6677)
To update a specific submodule
git submodule update --init submoduleName
For example, git submodule update --init sdk