From: bochard Date: Wed, 23 Jul 2025 12:47:29 +0000 (+0800) Subject: updated example .txt file X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;ds=sidebyside;p=sync-works.sh.git updated example .txt file --- diff --git a/README.md b/README.md index dd51a68..3dfc245 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Update Git submodules on a final directory and removing the `.git` file. ## How it works? 1. Read the list of submodules in the `works-list.txt` file. -2. Creates two directory: `/works-tmp` and `works/`. +2. Creates two directory: `works-tmp/` and `works/`. 2. Checks if submodules from the txt file exists within `works-tmp` folder. If not, add it. 3. Update the submodules in their remote latest commit. 4. Copy the submodules from the `works-tmp` directory to the `works` directory while removing `.git` contents simultaneously. diff --git a/works-list.txt b/works-list.txt deleted file mode 100644 index da9147f..0000000 --- a/works-list.txt +++ /dev/null @@ -1,3 +0,0 @@ -temperature-converter git@github.com:b0chard/temperature-converter.git -roman-numeral-converter git@github.com:b0chard/roman-numeral-converter.git -palindrom-checker git@github.com:b0chard/palindrome-checker.git \ No newline at end of file diff --git a/works-list.txt.example b/works-list.txt.example new file mode 100644 index 0000000..6199300 --- /dev/null +++ b/works-list.txt.example @@ -0,0 +1,2 @@ +QuestLog ssh://git@codeberg.org/bochard/QuestLog.git +AIO-converter ssh://git@codeberg.org/bochard/AIO-converter.git