# 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
# 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