1
0
mirror of https://github.com/balkian/gists.git synced 2024-10-31 23:51:44 +00:00
gists/gistfile1.sh
J. Fernando Sánchez 49a4d17a5d
2015-02-27 08:55:03 -08:00

3 lines
149 B
Bash

git clone <your_project> <your_submodule>
cd <your_submodule>
git filter-branch --subdirectory-filter 'path/to/your/submodule' --prune-empty -- --all