Recommended gitignore additions? #609
-
|
When running the What files should be excluded from a git repo? For instance, ignore
Should TIA. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @travisfranck, when you use the That list currently is: In a git repo, |
Beta Was this translation helpful? Give feedback.
-
|
Thanks -- I added them to my file. For others: I think the issue might have been that, because I already had the model in git, when running the |
Beta Was this translation helpful? Give feedback.
Hi @travisfranck, when you use the
createcommand, it copies the files from the template-default directory in the SDEverywhere repo, and in that template we have a .gitignore file that is configured to ignore the typical files that should be ignored.That list currently is:
In a git repo,
node_modulesandsde-prepshould be excluded because those are machine-dependent (and cache-like). Thepackage.jsonand package-manager lock files (likepackage-lock.jsonorpnpm-lock.yaml) should always be included; the lock file in particular is important for repeatable builds.