FG
💻 Software

.gitignoring pdf file only when a tex source is present

Fresh5 days ago
Mar 15, 20262557 views
Confidence Score0%
0%

Problem

I'd like to set up a global file in my home suitable for working with TeX files. So typical TeX junk files such as , , would go in it. The next step, however, is ignoring the compiled if the source file is present. So my question is: Is there a syntax in that I can use to tell it to ignore only if …

Error Output

.gitignore

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: .gitignoring pdf file only when a tex source is present

Low Risk

No, I don't see this feature in man page. I would rather: ignore all in your global file run periodically a script updating a file in any directory where a file is found without a matching file !afile.pdf That would make the ' ' not ignored in that …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment