DEV Community

Jozef Izso
Jozef Izso

Posted on • Originally published at izsak.net

6 1

.gitattributes templates

gitattributes.io is a service for generating .gitattribute files from templates. The service is inspired by gitignore.io where you can quickly bootstrap your .gitignore files.

Choose templates on web interface, or use the very simple API to list template names and generate new .gitattribute file content.

To generate .gitattributes file for you web project, just call:

https://gitattributes.io/api/web
Enter fullscreen mode Exit fullscreen mode

Working on a C++ project in Visual Studio? Separate multiple template names with a comma:

https://gitattributes.io/api/c++,visualstudio
Enter fullscreen mode Exit fullscreen mode

The list of all template names is available at api/list endpoint:

https://gitattributes.io/api/list
Enter fullscreen mode Exit fullscreen mode

This service was made possible by the project from alexkaratarakis who created the original alexkaratarakis/gitattributes repository with .gitattributes templates. You can contribute to gitattributes.io project at github.com/gitattributes

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay