Skip to content

How to show .git folder in file tree #28720

Discussion options

You must be logged in to vote

You can override defaults for file_scan_exclusions

// Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
// scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
"file_scan_exclusions": [
"**/.git",
"**/.svn",
"**/.hg",
"**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
],

in your local settings — keeping the same list without "**/.git", entry should force Zed into showing .git directories.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tealk
Comment options

Answer selected by Tealk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants