Skip to content

Commit

Permalink
build(git-ignore): add missing item
Browse files Browse the repository at this point in the history
When using the theme starter, which uses a git submodule,
assets loaded from that submodule are "untracked" files in the pages branch working tree.
The build can fail at this line due to Git, saying "the following untracked working tree files would be overwritten by checkout".

Adding `-f` forces the checkout, overwriting all files.
The other deploy steps then take over and rewrite the files as needed.
  • Loading branch information
cotes2020 authored and shihtiy-tw committed Nov 26, 2022
1 parent 747090d commit bd33a40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
!.travis.yml
!.husky
!.commitlintrc.json
!.versionrc.json

# bundler cache
_site
Expand Down

0 comments on commit bd33a40

Please sign in to comment.