TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A collection of useful .gitignore templates

2 点作者 panchtatvam超过 7 年前

1 comment

skibz超过 7 年前
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.