gitignore

Use the following commands to create comprehensive .gitignore files.

Most projects

Ignore temporary and backup files.

curl https://raw.githubusercontent.com/mattnorris/gitignore/refs/heads/temp-backup/community/TemporaryBackup.gitignore >> .gitignore

Ignore common Mac artifacts.

curl https://raw.githubusercontent.com/github/gitignore/refs/heads/main/Global/macOS.gitignore >> .gitignore

Python

Ignore common Python artifacts.

curl https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore >> .gitignore

Notebooks

Ignore Jupyter artifacts.

curl https://raw.githubusercontent.com/github/gitignore/refs/heads/main/community/Python/JupyterNotebooks.gitignore >> .gitignore

Ignore LangGraph artifacts.

curl https://raw.githubusercontent.com/mattnorris/gitignore/refs/heads/langchain/LangChain.gitignore >> .gitignore
gitignore
Interactive graph
On this page
Most projects
Python
Notebooks
LangChain