-
When using quarto in RStudio for Windows, it creates a large '_files' folder (5.49MB) causing slow version control with Git for the initial commit. A different large '_files' folder is created for each .qmd file, although the files in the folder look identical. Such duplicated large '_files' folders (5.49MB), even for a minimum example like the following, freeze the Git version control operation. Is there a workaround for this issue?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There are a few ways to handle this:
|
Beta Was this translation helpful? Give feedback.
-
@cscheid Thank you for your suggestons. Very helpful. For other beginners who also prefer the second suggestion (quarto website: https://quarto.org/docs/websites/#rstudio), I started a new quarto project for revealjs presentations under my subdirectory for git repos (eg,
The last part above is due to my preference from this discussion. Then all .qmd files created in the /revealjs subdirectory or its lower-level subdirectories will follow the global specification and will not create separate |
Beta Was this translation helpful? Give feedback.
There are a few ways to handle this:
*_files
to your .gitignore file (see this tutorial for information on the syntax to use). This will prevent git from adding those build artifacts to the repository.