Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo| #!/usr/bin/env python3 | |
| """ | |
| This script converts the doxygen XML output, which contains the API description, | |
| and generates reStructuredText suitable for rendering with the sphinx PHP | |
| domain. | |
| """ | |
| from collections import OrderedDict | |
| import xml.etree.ElementTree as ET | |
| import os |
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo