Skip to content

Commit 7293c14

Browse files
authored
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)
1 parent 07b3cd7 commit 7293c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Node.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ dist
109109
.vscode-test
110110

111111
# yarn v2
112-
113112
.yarn/cache
114113
.yarn/unplugged
115114
.yarn/build-state.yml
115+
.yarn/install-state.gz
116116
.pnp.*

0 commit comments

Comments
 (0)