Skip to content

mengu/gitignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

gitignore is a utility for you to auto insert .gitignore files depending on the project type you have. It uses the .gitignore files from Github's gitignore repository.

Building

For macOS

  • brew install ocaml opam
  • opam install core cohttp cohttp-lwt ansiterminal
  • make build

For Linux

  • (apt-get|yum|zypper) install ocaml opam
  • opam install core cohttp cohttp-lwt ansiterminal
  • make build

Usage

  • gitignore

  • gitignore OCaml

  • gitignore Rails

How it works?

add_gitignore first tries guessing your project type if you do not provide it an argument.

  • If your project directory is a subdirectory of a .gitignore file then it automatically uses it. (ie: /Users/awesome-dev/projects/scala/akka/ will resolve your project as a Scala project.)

Guess From Project

  • If your project has an extension that is supported, you will be presented an option or options to choose. (You might have .php files but it can be a Magento project, Drupal project, etc.)

Guess From Extensions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published