8000 GitHub - pbnj/gitignore: Simple CLI for creating .gitignore files.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

pbnj/gitignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitignore

Simple CLI for creating .gitignore files

Install

$ go get -u -v github.com/pbnj/gitignore@latest

Usage

$ gitignore --help
Usage of gitignore:
  -d    Debug
  -l string
        Language
  -w    Write to .gitignore file

Example

Simple: gitignore -l <lang> will print to STDOUT by default

$ gitignore -l go
INFO Found: Go.gitignore
# Binaries for programs and plugins
*.exe
*.dll
*.so
*.dylib

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/
  • To write to .gitignore file:
    $ gitignore -w -l go
    Found Go.gitignore
    Created: /home/ubuntu/go/src/github.com/pbnj/gitignore/.gitignore

License

MIT © Peter Benjamin

About

Simple CLI for creating .gitignore files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0