git-ignore

Generate .gitignore files from predefined templates.

TLDR

Show the content of all global and local .gitignore files

$ git ignore
copy

Ignore file(s) privately, updating .git/info/exclude file

$ git ignore [file_pattern] --private
copy

Ignore file(s) locally, updating local .gitignore file

$ git ignore [file_pattern]
copy

Ignore file(s) globally, updating global .gitignore file

$ git ignore [file_pattern] --global
copy

Copied to clipboard
Stream 500+ movies for free and without signup