Skip to content

Help with gitignore #351

Discussion options

You must be logged in to vote

This is truly more of a git-question. :)

In a local test-repo specifying the full path of the cache.db file in .gitignore helped.

_cite/.cache/*
!_cite/.cache/cache.db

File inside .cache were still ignored but cache.db is detected and can be committed.
Can you give this a try? Setting the full path in .gitignore.


disable_globbing wouldn't really help here. It runs set -o noglob; in the bash script and prevents strings like file_pattern: '*.md' from being expanded to a list of files.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vincerubinetti
Comment options

@stefanzweifel
Comment options

Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants