Git ignore
A .gitignore file is a simple text file that tells Git which files or folders it should ignore and never track.
In a typical coding project, you often have files you don’t want to share with others or save in your history—like passwords, temporary cache files, or massive folders of dependencies.
How it Works ?
When you add a file name or a pattern to .gitignore, Git will:
Stop asking you to "stage" or "commit" those files.
Hide them from your git status output.
Prevent them from being uploaded to GitHub/GitLab.
Common Things to Ignore
Last updated on