-
Notifications
You must be signed in to change notification settings - Fork 0
use_dang_as_submodule
lordeidi edited this page Jan 7, 2021
·
1 revision
- Create your directory
- As example add a lib/ directory
- Add everything to your own git, push
- Run this command:
git submodule add https://github.com/swordlordcodingcrew/DANG.git dang
- Push your directory again
- git clone --recursive yourproject_repo
- git submodule foreach git pull origin master
- git submodule update --recursive
to add in in a hook:
cd ~/yourproject
echo "git submodule update --init --recursive" >> .git/hooks/post-merge