.gitattributes Generator

Free online .gitattributes generator with visual form. Configure text/binary detection, line ending normalization, Git LFS, merge strategies, and more. Pure frontend.

🔒 100% Client-Side
⚙️ Configuration
Updated: 2026-07-11
🔒 Generated locally, nothing is uploaded
Ad Space - Sidebar (300x250)

How to Use .gitattributes Generator

  1. Fill in or select configuration options
  2. Click "Generate" to preview
  3. Copy the result or download the file

Frequently Asked Questions

What is .gitattributes?

.gitattributes is a Git file that controls how Git handles specific file types. It manages line endings (CRLF/LF), binary detection, diff algorithms, merge strategies, and Git LFS rules.

What does line ending normalization mean?

Line ending normalization (text=auto) makes Git auto-convert line endings: CRLF on Windows checkout, LF on macOS/Linux, and always LF on commit. This prevents line-ending chaos across different operating systems.

What is Git LFS?

Git LFS (Large File Storage) is a Git extension for large files. Configured via .gitattributes (e.g., *.psd filter=lfs diff=lfs merge=lfs -text), it stores file content on remote LFS servers while keeping text pointers in the repository.