loupeznik/ignoreinit
A tool for creating .gitignore files from the command line
89
Ignoreinit is a tool for creating .gitignore files from the command line. Gitignore files are pulled from github/gitignore repo.
Creates new .gitignore based on given language in defined location (either relative or absolute).
ignoreinit init <language> <location>
Replaces existing .gitignore based on given language in defined location (either relative or absolute).
ignoreinit replace <language> <location>
# Create .gitignore in the current directory
docker run --rm -v ${PWD}:/work loupeznik/ignoreinit:latest init go .
# Create .gitignore in another directory directory
docker run --rm -v $HOME/projects:/work loupeznik/ignoreinit:latest init go .
docker pull loupeznik/ignoreinit