Creation of/Modifications to the .gitignore file when running quarto render #6005
Closed
jakobarendt
started this conversation in
Feature Requests
Replies: 1 comment 3 replies
-
|
It should be easy easy enough to tweak the regex to avoid having both exclusion with and without leading To note, the quarto-cli/src/project/project-gitignore.ts Lines 7 to 94 in 7414705 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Thank you so much to all for developing the incredibly powerful Quarto! I am currently writing my master's thesis with your software, and I am only starting to grasp what it can do.
One thing I have noticed, is that it makes some changes to my
.gitignorefile, when I runquarto renderfor my quarto book project. You have already explained this further in this answer.In my case, however, it adds
/.quarto/as an item to the.gitignorefile, even though I already have.quartoin it. To my understanding of the syntax, the latter is even more "restrictive" than the former in the sense that it always excludes.quartodirectories/files independently of where are they are stored relative to the.gitignorefile.I imagine that you still had you reasons for implementing it the way it is now. Why does
quarto rendernot acknowledge.quartoas a.gitignoreparameter?Another aspect that I want to mention here is that having
quarto renderacknowledge the more restrictive.quartoexclusion would make it more consistent with the R commandusethis::git_vaccinate(), since there the ignore parameter is also.quarto.Quarto version: 1.3.361
Machine: macOS Ventura 13.4
Beta Was this translation helpful? Give feedback.
All reactions