.gitignore for Arch Linux Packages

13 ignore rules for Arch Linux Packages, ready to copy into your repository.

Arch Linux package management

The complete .gitignore for Arch Linux Packages

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:31:11 UTC
# Technologies: Arch Linux Packages

### Arch Linux Packages ###
# Tape archive
*.tar
*.tar.*
# Java archive
*.jar
# Windows executable
*.exe
# Windows installer package
*.msi
*.deb
# ZIP archive
*.zip
*.tgz
# Log file
*.log
*.log.*
*.sig
pkg/
src/

What these Arch Linux Packages rules actually ignore

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

General

Pattern What it ignores
*.tar Tape archive
*.tar.* General
*.jar Java archive
*.exe Windows executable
*.msi Windows installer package
*.deb General
*.zip ZIP archive
*.tgz General
*.log Log file
*.log.* General
*.sig General
pkg/ General
src/ General

How to use this .gitignore for Arch Linux Packages

  1. Copy the Arch Linux Packages 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 Operating System .gitignore templates

See every Operating System template