Skip to content

panxiuqing/gitig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple command line tool to init gitignore file.

Usage

Download executable target file from Releases and put it to your $PATH, then:

# Create .gitignore file for Python project to current position
gitig init Python

.gitignore remote set

The default template set is fetched from github/gitignore repo.

You can change it by add a config file $HOME/.gitig.yml with contents:

# Make sure a gitignore file can be fetched through http/https and end with Language.gitignore
# e.g. https://you.own.template.set/Python.gitignore
remote_set: https://you.own.template.set/