diff --git a/DeleteAndResetAll.sh b/DeleteAndResetAll.sh new file mode 100755 index 0000000..c7b7960 --- /dev/null +++ b/DeleteAndResetAll.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +echo "======= DELETE AND RESET ALL ==========" +echo "FactoryTest2022 フォルダ・SampleSrcフォルダをすべて削除し、" +echo "新しくgit cloneします。" +echo -n "本当に全部消して、再構築しても、よいですか? (y/n) > " +read input +if [[ "$input" == "y" ]]; then + cd .. + rm -fr M5StickCPlus_FactoryTest2022 + git clone https://git.istlab.info/git/miura250/M5StickCPlus_FactoryTest2022.git + cd M5StickCPlus_FactoryTest2022 +else + echo "キャンセルしました" +fi + + +