Coder Social home page Coder Social logo

itonyyo / latest-gitignore-cli Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 2.93 MB

添加 / 更新 `.gitignore`。直接从 `github/gitignore·` 项目 `master` 分支获取模板,而非 `gitignore.io`。:building_construction:

License: MIT License

JavaScript 93.69% HTML 6.31%
cli generator git gitignore init scaffold

latest-gitignore-cli's Introduction

Hi there 👋

latest-gitignore-cli's People

Contributors

itonyyo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

latest-gitignore-cli's Issues

最小化 package.json、README.md 等文件的体积

最小化 package.json、README.md 等文件的体积,以提升 latest-gitignore-cli 的安装体验。

npm notice
npm notice 📦  [email protected]
npm notice === Tarball Contents ===
npm notice 4.5kB lib/index.js
npm notice 3.7kB package.json
npm notice 1.1kB LICENSE.md
npm notice 2.4kB README.md
npm notice === Tarball Details ===
npm notice name:          latest-gitignore-cli
npm notice version:       1.2.1
npm notice filename:      latest-gitignore-cli-1.2.1.tgz
npm notice package size:  5.2 kB
npm notice unpacked size: 11.7 kB
npm notice shasum:        eea5141beb3c81ee326df0fe5a1a06b8a20281f3
npm notice integrity:     sha512-PSHlcJk3PsOsy[...]FUo0tFBnp4W+Q==
npm notice total files:   4
npm notice

常用预设

latest-gitignore macOS Windows Linux -o .

latest-gitignore --preset cross-platform -o .

如果每次给一个项目生成 .gitignore 文件都要去 github/gitignore 完整检查一遍列表,效率有些低。直接使用预设会方便一些,也更容易记忆。

配置文件大致如此,

{
  "topic": [
    "macOS",
    "Windows",
    "Linux",
    "Node",
    "VisualStudioCode",
    "SublimeText",
    "CVS",
    "Diff",
    "Vim",
    "TortoiseGit"
  ],
  "ignore": [
    ".idea/**/*.iml",
    ".idea/**/*.xml",
    "error.txt",
    "log.txt",
    ".yarnclean"
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.