Re:Git ignores .gitignore with .gitignore in .gitignore
by dfee on Wednesday May 18, 2022 @04:46AM
(#31420536)
Not at a term, but would this prevent `git clean -fdx` from removing the dir? That’d be quite useful!
[ Parent
| on HN ]
Re:Git ignores .gitignore with .gitignore in .gitignore
by CGamesPlay on Wednesday May 18, 2022 @06:13AM
(#31420975)
No, since -x means to “disregard standard ignore rules”, such as .gitignore and .git/info/exclude.
> Don’t use the standard ignore rules (see gitignore[5]), but still use the ignore rules given with -e options from the command line.