.gitignore for Tags

12 ignore rules for Tags, ready to copy into your repository.

Code tag files

The complete .gitignore for Tags

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:30:35 UTC
# Technologies: Tags

### Tags ###
TAGS
.TAGS
!TAGS/
gtags.files
GTAGS
GRTAGS
GPATH
GSYMS
cscope.files
cscope.out
cscope.in.out
cscope.po.out

What these Tags rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

Ignore tags created by etags, ctags, gtags (GNU global) and cscope

Pattern What it ignores
TAGS Ignore tags created by etags, ctags, gtags (GNU global) and cscope
.TAGS Ignore tags created by etags, ctags, gtags (GNU global) and cscope
!TAGS/ Ignore tags created by etags, ctags, gtags (GNU global) and cscope
gtags.files Ignore tags created by etags, ctags, gtags (GNU global) and cscope
GTAGS Ignore tags created by etags, ctags, gtags (GNU global) and cscope
GRTAGS Ignore tags created by etags, ctags, gtags (GNU global) and cscope
GPATH Ignore tags created by etags, ctags, gtags (GNU global) and cscope
GSYMS Ignore tags created by etags, ctags, gtags (GNU global) and cscope
cscope.files Ignore tags created by etags, ctags, gtags (GNU global) and cscope
cscope.out Ignore tags created by etags, ctags, gtags (GNU global) and cscope
cscope.in.out Ignore tags created by etags, ctags, gtags (GNU global) and cscope
cscope.po.out Ignore tags created by etags, ctags, gtags (GNU global) and cscope

How to use this .gitignore for Tags

  1. Copy the Tags rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other Utility .gitignore templates

See every Utility template