From 6ca66366d5406c06044cc33c38906366fe2f5d9f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 2 Apr 2022 19:16:01 +0800 Subject: [PATCH] build(git-ignore): add missing item 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. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a0d71a8..d1210a4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !.travis.yml !.husky !.commitlintrc.json +!.versionrc.json # bundler cache _site