chore: ignore gem lock file in user-end
This commit is contained in:
parent
269506b647
commit
dd339aea2b
2 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue