mkgitignore
mkgitignore
is a simple small Rust program that allows very, VERY quick instantiation of a .gitignore
file in your current working directory. Good if you're a trigger happy programmer like me. It has the ability to download config files (which are key to making mkgitignore
work) from the internet automatically.
Configuration
mkgitignore
works by fetching up a list of gitignores, their aliases and how to get them (via. http or text). The configuration is in TOML. Each entry is stored in an array of tables named gitignore
. You may use the clutterly inline table option to create config files, but I think that the built in "array of table" syntax is easier on the eyes.
[[]]
= "C++"
= "https://raw.githubusercontent.com/github/gitignore/master/C++.gitignore"
= ["cpp", "cplusplus"]