You need a .gitignore template? Try, It Rocks! is hosting a web API for generating a .gitignore template for certain OSs, IDEs or programming languages. And honestly, this is really helpful.

If you want a .gitignore template for several OS, IDE and programming language targets, what you need to do is to provide a CSV of these target IDs to the web api. Here, the following URL provides a comprehensive ID list of supported targets:


Error: Embedded data could not be displayed.

For example, a .gitignore template for Mac OS X, Linux, Windows and C/C++ can be retrieved from the following URL (just putting target ids with delimiting commas after api/):


Error: Embedded data could not be displayed.

And if you want to download the template as .gitignore, then use the following command:
curl,linux,windows,c,c++ -o .gitignore

It's simple and effective, nice!


Popular posts from this blog

Hardcoding Data Like Images and Sounds into HTML or CSS

DDS for GIMP (Mountain Lion, Native, no X11 GUI)

Make It Work: Global .gitattributes