better way to clean git stuff

This commit is contained in:
Milan Meduna 2020-10-26 18:07:28 +01:00
parent 291edb4190
commit d197f287dd
3 changed files with 4 additions and 9 deletions

View file

@ -2,6 +2,7 @@
rm -rf mods rm -rf mods
mkdir mods mkdir mods
cd mods cd mods
git clone --depth 1 --branch master https://github.com/minetest-mods/3d_armor.git git clone --depth 1 --branch master https://github.com/minetest-mods/3d_armor.git
git clone --depth 1 --branch master https://github.com/minetest-mods/unified_inventory.git git clone --depth 1 --branch master https://github.com/minetest-mods/unified_inventory.git
git clone --depth 1 --branch master https://github.com/minetest-mods/unifiedbricks.git git clone --depth 1 --branch master https://github.com/minetest-mods/unifiedbricks.git
@ -10,7 +11,6 @@ git clone --depth 1 --branch master https://github.com/minetest-mods/moreores.gi
git clone --depth 1 --branch master https://github.com/minetest-mods/mywalls.git git clone --depth 1 --branch master https://github.com/minetest-mods/mywalls.git
git clone --depth 1 --branch master https://github.com/minetest-mods/xdecor.git git clone --depth 1 --branch master https://github.com/minetest-mods/xdecor.git
git clone --depth 1 --branch master https://github.com/minetest-mods/vehicle_mash.git git clone --depth 1 --branch master https://github.com/minetest-mods/vehicle_mash.git
# for lib_mount exists branch called rotation_fix, lib_mount is needed for vehicle_mash
git clone --depth 1 --branch master https://github.com/Panquesito7/lib_mount.git git clone --depth 1 --branch master https://github.com/Panquesito7/lib_mount.git
git clone --depth 1 --branch master https://github.com/minetest-mods/workbench.git git clone --depth 1 --branch master https://github.com/minetest-mods/workbench.git
git clone --depth 1 --branch master https://github.com/minetest-mods/ts_furniture.git git clone --depth 1 --branch master https://github.com/minetest-mods/ts_furniture.git
@ -99,10 +99,9 @@ git clone --depth 1 --branch master https://github.com/Uberi/Minetest-WorldEdit.
git clone --depth 1 --branch master https://github.com/minetest-mods/realchess.git git clone --depth 1 --branch master https://github.com/minetest-mods/realchess.git
git clone --depth 1 --branch master https://github.com/Grizzly-Adam/BBQ.git git clone --depth 1 --branch master https://github.com/Grizzly-Adam/BBQ.git
git clone --depth 1 --branch master git://cheapiesystems.com/mail git clone --depth 1 --branch master git://cheapiesystems.com/mail
rm */.git -rf
rm */.gitignore -f #Clean git stuff
rm */.gitattributes -f rm -rf $(find . -name .git*)
rm */.github -rf
#update skins-db #update skins-db
cd skinsdb/updater cd skinsdb/updater

View file

@ -1 +0,0 @@
*~

View file

@ -1,3 +0,0 @@
[submodule "streetsmod/libs/smartfs"]
path = streetsmod/libs/smartfs
url = https://github.com/rubenwardy/smartfs.git