From dd339aea2bc2c080f92d776374af2efda9ba9ed4 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 30 Jan 2023 03:01:02 +0800 Subject: [PATCH] chore: ignore gem lock file in user-end --- _posts/2019-08-09-getting-started.md | 4 +--- tools/init | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md index a4991be..0677cfe 100644 --- a/_posts/2019-08-09-getting-started.md +++ b/_posts/2019-08-09-getting-started.md @@ -43,9 +43,7 @@ The above command will: 2. If the option `--no-gh` is provided, the directory `.github`{: .filepath} will be deleted. Otherwise, set up the GitHub Action workflow by removing the extension `.hook`{: .filepath} of `.github/workflows/pages-deploy.yml.hook`{: .filepath}, and then remove the other files and directories in the folder `.github`{: .filepath}. -3. Remove item `Gemfile.lock` from `.gitignore`{: .filepath}. - -4. Create a new commit to save the changes automatically. +3. Create a new commit to save the changes automatically. ### Installing Dependencies diff --git a/tools/init b/tools/init index f4a1f30..1848f9b 100755 --- a/tools/init +++ b/tools/init @@ -66,10 +66,6 @@ init_files() { rm -f _config.yml.$TEMP_SUFFIX fi - # trace the gem lockfile on user-end - sed -i.$TEMP_SUFFIX "/Gemfile.lock/d" .gitignore - rm -f ".gitignore.$TEMP_SUFFIX" - # remove the other fies rm -rf _posts/*