# I think we should start committing .Claude to git . — retained record

> Retained reddit record from reddit:ClaudeCode.

Canonical: https://highsignal.app/data/records/c39cecc4e8966edc

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeCode)  published 2026-10-20 15:20 ingested 2026-10-21 02:40

[original source ↗](https://www.reddit.com/r/ClaudeCode/comments/1xauyj9/i_think_we_should_start_committing_claude_to_git/)

## retained text



```
So for the folder of .Claude right now the standard is we add it to git-ignore . similar to how we ignore the VS Code settings or so on, because we consider it a personal preference.  


**1- .Claude is part of the work .**  
But right now I reflected on that based on evidence, a real experience, for example in one project that I am working on and in the .claude folder, either the MD or the skills and so on. I have added the structure of the project, some other stuff that I have improved in the agents over time, so they give me the result with the minimum amount of tries and keep the good standard. when another  developer worked on the same repo without my .claude folder there was lots of issues in the code he made , the kind of issues that would never happen to me even without mentioning them since they are in my skills and rules of the project . 

**2- its more important than the source code .**   
Another point is that I think we shouldn't treat them as preferences files similar to the VS Code settings or whatsoever. I think we should start to treat them like source code, because they are more like the source code for this project. or we can call it (source process) So its like the Claude files are the source code ,and the actual code that you have generated is the compiled version, similar to how, for example, in front-end projects we have the delivery directory, or in the Android file also we have the build directory that we don't commit those, and also we don't look inside while we're focusing on the main code directory. I know right now we didn't reach the point at all where the AI can work like a compiler. and we just write the instructions and skills and PRD . and then compile that would need years in Ai advancements and lowering the cost as well but I see it as trajectory. but that for the future .   
but for today should we start committing the .Claude ?

What do you think, and what are your ideas regarding this one? 
```



document fetched 2026-10-21 00:39 · canonical https://reddit.com/r/ClaudeCode/comments/1xauyj9/i_think_we_should_start_committing_claude_to_git
