Taobin-Recipe-Manager/server/git_pull_recipe.sh
2023-09-19 17:19:09 +07:00

14 lines
373 B
Bash

# modify this
# .sh for linux
# .bat for windows
# pull only 1 file
git clone --depth 1 --no-checkout --filter=blob:none ssh://ikong@192.168.10.159/1TBHDD/ikong/repo/cofffeemachineConfig
cd cofffeemachineConfig
git checkout master -- coffeethai02_577.json
cd ..
# Submodule
git submodule add -b master ssh://ikong@192.168.10.159/1TBHDD/ikong/repo/cofffeemachineConfig