Skip to content
eviweb edited this page Mar 23, 2021 · 5 revisions

Delete one or more patterns from a .gitignore file

git ignore delete <file> <pattern1>[,<pattern2>,...]

Removes one or more patterns from the specified .gitignore

Parameters

  • <file> : the .gitignore file to treat
  • <pattern1>[,<pattern2>,...] : comma separated list of pattern names to remove

pattern names are the ones listed using git ignore list command and are case sensitive.

This can only remove patterns added by this tool !!!

Clone this wiki locally