git-ignore
Show/update .gitignore files. tldr-pages
On several platforms
Several platforms
Show/update .gitignore files. Part of git-extras.
Show the content of all global and local .gitignore files
git ignoreIdentifyIgnore file(s) privately, updating .git/info/exclude file
git ignore file_pattern --privateIdentifyIgnore file(s) locally, updating local .gitignore file
git ignore file_patternIdentifyIgnore file(s) globally, updating global .gitignore file
git ignore file_pattern --globalIdentify