github/gitignore 配置模板

Github 上为开发者提供了各种环境以及各种编程语言的 gitignore 文件配置模板:https://github.com/github/gitignore。各个模板配置非常全面,基本考虑到了所有不需要 git 追踪的忽略配置项。

例如找到适用于 Node 项目的 gitnore 配置模板


下面是该文件模板的配置内容

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

这样就不用每次给项目手写 gitignore 了,非常方便。但是也要记住,模板固然好,但还是建议在自己知道怎么配置 gitignore 的情况下来使用这些模板提高效率,从而根据自己的需要灵活配置以达到不同项目的定制化。

发布者

LPZ

好好学习,天天向上。

《github/gitignore 配置模板》上有5条评论

  1. Hi! lipengzhou.com

    We suggesting

    Sending your commercial offer through the feedback form which can be found on the sites in the Communication section. Contact form are filled in by our application and the captcha is solved. The profit of this method is that messages sent through feedback forms are whitelisted. This method raise the odds that your message will be read. Mailing is done in the same way as you received this message.
    Your commercial proposal will be read by millions of site administrators and those who have access to the sites!

    The cost of sending 1 million messages is $ 49 instead of $ 99. (you can select any country or country domain)
    All USA – (10 million messages sent) – $399 instead of $699
    All Europe (7 million messages sent)- $ 299 instead of $599
    All sites in the world (25 million messages sent) – $499 instead of $999
    There is a possibility of FREE TEST MAILING.

    Discounts are valid until June 10.
    Feedback and warranty!
    Delivery report!
    In the process of sending messages we don’t break the rules GDRP.

    This message is automatically generated to use our contacts for communication.

    Contact us.
    Telegram – @FeedbackFormEU
    Skype – FeedbackForm2019
    Email – FeedbackForm@make-success.com
    WhatsApp – +44 7598 509161

    Thanks for reading.

  2. Ciao! lipengzhou.com

    We present

    Sending your business proposition through the feedback form which can be found on the sites in the contact section. Feedback forms are filled in by our software and the captcha is solved. The superiority of this method is that messages sent through feedback forms are whitelisted. This technique increases the chances that your message will be open.

    Our database contains more than 25 million sites around the world to which we can send your message.

    The cost of one million messages 99 USD

    FREE TEST mailing of 50,000 messages to any country of your choice.

    When ordering a newsletter on June 8 and 9, you will be given a 50 percent discount. ( Weekend discount)

    This message is automatically generated to use our contacts for communication.

    Contact us.
    Skype live:contactform_18
    Email – ContactForm@make-success.com
    WhatsApp – +353899461815

  3. Good day! lipengzhou.com

    We present oneself

    Sending your message through the Contact us form which can be found on the sites in the Communication partition. Contact form are filled in by our program and the captcha is solved. The advantage of this method is that messages sent through feedback forms are whitelisted. This technique increases the probability that your message will be read.

    Our database contains more than 25 million sites around the world to which we can send your message.

    The cost of one million messages 49 USD

    FREE TEST mailing of 50,000 messages to any country of your choice.

    This message is automatically generated to use our contacts for communication.

    Contact us.
    Telegram – @FeedbackFormEU
    Skype FeedbackForm2019
    Email – FeedbackForm@make-success.com
    WhatsApp – +44 7598 509161

发表评论

电子邮件地址不会被公开。 必填项已用*标注