Skip to content

Commit dd339ae

Browse files
committed
chore: ignore gem lock file in user-end
1 parent 269506b commit dd339ae

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

_posts/2019-08-09-getting-started.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ The above command will:
4343

4444
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}.
4545

46-
3. Remove item `Gemfile.lock` from `.gitignore`{: .filepath}.
47-
48-
4. Create a new commit to save the changes automatically.
46+
3. Create a new commit to save the changes automatically.
4947

5048
### Installing Dependencies
5149

tools/init

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ init_files() {
6666
rm -f _config.yml.$TEMP_SUFFIX
6767
fi
6868

69-
# trace the gem lockfile on user-end
70-
sed -i.$TEMP_SUFFIX "/Gemfile.lock/d" .gitignore
71-
rm -f ".gitignore.$TEMP_SUFFIX"
72-
7369
# remove the other fies
7470
rm -rf _posts/*
7571

0 commit comments

Comments
 (0)