]> source.dussan.org Git - gitignore.git/commit
Add .yarn/install-state.gz to Node.gitignore (#3407)
authorJon Layton <2287825+ch4ot1c@users.noreply.github.com>
Thu, 14 May 2020 11:49:06 +0000 (07:49 -0400)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 11:49:06 +0000 (08:49 -0300)
commit7293c14345c205c679722364a01b88d331e862ff
tree4074d0f31bde578619d1d155ab26f32c2754f1a9
parent07b3cd7a90de3fb5e88303a23d619ebd4cdd807a
Add .yarn/install-state.gz to Node.gitignore (#3407)

After running `yarn set version berry` and `yarn install`, the file `.yarn/install-state.gz` is created.

The documentation at https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored mentions that this file should be ignored:

> .yarn/install-state.tgz is an optimization file that you shouldn't have to ever commit. It simply stores the exact state of your project so that the next commands can boot without having to resolve your workspaces again.

The documentation has a minor error; the generated file is `.gz` instead of `.tgz` (source: https://github.com/yarnpkg/berry/pull/998/files#diff-23dd4c2e823c25186f1107e88e962032R201)
Node.gitignore