Giter VIP home page Giter VIP logo

gitignorer's Introduction

gitignorer

Gitignorer is the easiest way to create .gitignore files.

Usage

$ gitignorer [options]

Examples

Ignore extraneous files from Go, Java, and Ruby.

$ gitignorer create go java ruby

List all available templates.

$ gitignorer list

Installation

Linux

Ubuntu/Debian

64 Bit
$ wget -P /tmp https://github.com/zachlatta/gitignorer/releases/download/v1.0.0/gitignorer_v1.0.0_amd64.deb | dpkg -i /tmp/gitignorer_v1.0.0_amd64.deb
32 Bit
$ wget -P /tmp https://github.com/zachlatta/gitignorer/releases/download/v1.0.0/gitignorer_v1.0.0_i386.deb | dpkg -i /tmp/gitignorer_v1.0.0_i386.deb

Other Linux

Binaries for other Linux flavors are available on the releases page.

Mac OS X

$ brew update
$ brew tap zachlatta/gitignorer
$ brew install gitignorer

Other

Binaries for all major platforms are available on the releases page.

Manually

You'll need Go for this. You can grab it over at http://golang.org/.

$ go get github.com/zachlatta/gitignorer
$ go install github.com/zachlatta/gitignorer

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) 2013 Zachary Latta

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

gitignorer's People

Contributors

zachlatta avatar

Stargazers

Zigao Wang avatar Mudacumura Brunoblaise avatar Lorenzo Franceschini avatar  avatar Kai Devrim avatar H avatar Benji York avatar  avatar YoungChief avatar Andrew N avatar Ralf Konrad avatar GHeeJeon avatar Erfan Hanifezade avatar ShankarShastri avatar Asterisk avatar Sean McVeigh avatar Jinwu Li avatar Jensen Lin avatar topher mykolyk avatar Junyuan Chen avatar  avatar Hahnemann Ortiz avatar BlancosWay avatar Seth Battis avatar Gabriel Lacerda avatar Tom Orth avatar Kevin Bohinski avatar Michael avatar Ian Macalinao avatar Lizzie Siegle avatar Krish Dholakiya avatar Logan McAnsh avatar Abhijit Mamarde avatar Jason Silkey avatar brocking avatar Safder avatar Gordey Doronin avatar Brandon Davis avatar Vinay Jethava avatar Waylan Limberg avatar James Lu avatar Mike Ballou avatar Furkan Tunalı avatar ᴋɪʀʙʏ ᴋᴏʜʟᴍᴏʀɢᴇɴ avatar Pedro Lopes avatar Neetesh Gupta avatar Chris Fontenot avatar hunslater avatar Joel Kuzmarski avatar Sylvia avatar RoCry avatar Alfred Hall avatar Justin Mayer avatar Jeremy Saenz avatar Brandon Smith avatar Vinny Pasceri avatar Michael Herman avatar Luke Wright avatar

Watchers

James Cloos avatar hunslater avatar  avatar  avatar

gitignorer's Issues

Problem installing on Ubuntu 14.04

Running
dpkg -i /tmp/gitignorer_v1.0.0_amd64.deb
leads to

dpkg: error processing archive /tmp/gitignorer_v1.0.0_amd64.deb (--install):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 4 package 'gitignorer':
 error in 'Version' field string 'v1.0.0': version number does not start with digit
Errors were encountered while processing:
 /tmp/gitignorer_v1.0.0_amd64.deb

OS-specific gitignores? (I want .DS_Store ignored on macOS)

I cursorily checked gitignorer list and couldn't find macOS or DS_Store or OSX etc. gitignore boilerplate.

I would like to ignore at least .DS_Store as I always had done in the past, but a quick google search "macOS gitignore" threw me https://github.com/github/gitignore/blob/master/Global/macOS.gitignore, which seems to be more comprehensive.

In my case, I would love to have a feature in gitignorer to ignore these kinds of files: gitignorer create python macos or gitignorer create python DS_Store for example. Now that I have such a great tool to generate my gitignores for me, manually editing it every time to add these OS-files feels... unpleasant.

And, by extension, I wonder if there are similar artefacts/files that would be useful to have gitignore boilerplate for in other OSes.

Idk how best to solve this issue, but I just don't want to have to manually edit every .gitignore that is created by gitignorer to add a few (identical) lines every time.

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.