Skip to content

Instantly share code, notes, and snippets.

@cleberjamaral
Last active February 11, 2020 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleberjamaral/5357d6ee349d1fe1d20aea1d79481fe2 to your computer and use it in GitHub Desktop.
Save cleberjamaral/5357d6ee349d1fe1d20aea1d79481fe2 to your computer and use it in GitHub Desktop.

Ignoring files which names matches the given pattern

# specific file
given_name

# files with extension "ext"
*.ext

# files with extension "ext" only in root folder
/*.ext

# files in folder "/build"
/build/

# files which name starts with "err"
err*

Source: git official documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment