mbostock / gistup

Create a gist from terminal, then use git to update it.
Other
488 stars 41 forks source link

Default ignore list #13

Closed scotthmurray closed 10 years ago

scotthmurray commented 10 years ago

This is such a great tool. Is there an easy way to tell gistup to always ignore certain files, e.g. .DS_Store?

mbostock commented 10 years ago

Gistup already has a special default exclusion list that includes .DS_Store, assuming you’re using version 0.0.13 or later.

If you want to exclude additional files, try one of these three methods:

I highly, highly recommend the last approach if you are on a Mac. I do this:

git config --global core.excludesfile ~/.gitignore

And then edit ~/.gitignore to add .DS_Store.

scotthmurray commented 10 years ago

Thanks! I had been using 0.0.10.

mbostock commented 10 years ago

Cheers, Scott!