TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A collection of useful .gitignore templates

2 pointsby panchtatvamover 7 years ago

1 comment

skibzover 7 years ago
These templates are also used by gitignore.io<p>I made a simple alias for generating a .gitignore using their service:<p>ignore = &quot;!gi() { curl -L -s <a href="https:&#x2F;&#x2F;www.gitignore.io&#x2F;api&#x2F;$@" rel="nofollow">https:&#x2F;&#x2F;www.gitignore.io&#x2F;api&#x2F;$@</a> &gt; .gitignore;}; gi&quot;<p>Example usage:<p>git ignore &#x27;node,osx&#x27;<p>Note that the alias is potentially destructive! So some may prefer to do the output redirection themselves, especially if there is an existing .gitignore to which you wish to append.