3 ms·
> committing a commit hash from a foreign repository in a text file (.gitmodules) No, that file is just for submodule URL, path, branch and options. The submo
by stefantalpalaru 4y ago
> committing a commit hash from a foreign repository in a text file (.gitmodules)
No, that file is just for submodule URL, path, branch and options.
The submodule's target commit hash is stored in the superproject's ".git/modules/[path here]/HEAD".
- juped 4y agowell, no, it's an entry in the tree object