.gitignore for Zed

4 ignore rules for Zed, ready to copy into your repository.

High-performance collaborative code editor

The complete .gitignore for Zed

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-09-17 17:01:12 UTC
# Technologies: Zed

### Zed ###
.zed/*
# Keep shared Zed project settings
!.zed/settings.json
# Keep shared Zed tasks
!.zed/tasks.json
!.zed/debug.json

What these Zed rules actually ignore

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

By default, ignore the directory but allow commonly shared config files.

Pattern What it ignores
.zed/* By default, ignore the directory but allow commonly shared config files.
!.zed/settings.json Keep shared Zed project settings
!.zed/tasks.json Keep shared Zed tasks
!.zed/debug.json By default, ignore the directory but allow commonly shared config files.

How to use this .gitignore for Zed

  1. Copy the Zed 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 Editor .gitignore templates

See every Editor template