.gitignore
A list of files that git must ignore. What you write there doesn’t reach the history or your colleagues, for example your personal settings.
How it appears in the course
.gitignore is a list of files that git ignores, meaning it doesn’t send them to your colleagues.
Add .claude/settings.local.json to .gitignore. The .gitignore file is the list of files that git must not share with anyone.
The personal settings (.claude/settings.local.json and CLAUDE.local.md) are in .gitignore, meaning the list of files that git doesn’t save. That way they stay only with you.
Where you learn it
In module 02 · CLAUDE.md: your project’s memory, in the Claude Code for Beginners course.
Related terms
Learn Claude Code from zero, in plain English
12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.