git-ignore vs ignore-glob #675
Unanswered
gldtn
asked this question in
Q&A, Howto, Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is git-ignore meant to work only in git folders and ignore-glob on regular folders? If so how do you guys manage ignore-glob with a list similar to git-ignore?
I'm trying to ignore annoying files on mac such as .DS_Store|.CFUserTextEncoding and a few others
The only way I found was to do something like this in my zshrc:
Which reads from my macignore file:
Was just wondering if I'm going about it the wrong way and what other approach are you guys using for this.
Beta Was this translation helpful? Give feedback.
All reactions