.gitignore
Last updated
What is .gitignore?
Ignored files are tracked in a special file named .gitignore that is checked in at the root of your repository. There is no explicit git ignore command: instead the .gitignore file must be edited and committed by hand when you have new files that you wish to ignore. .gitignore files contain patterns that are matched against file names in your repository to determine whether or not they should be ignored.
Free resources to learn .gitignore
More in stage 4: Git Remotes
.gitignore: common questions
Can I learn .gitignore in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain .gitignore in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this .gitignore tutorial for beginners?
It is lesson 24 of 155 in the free Git and GitHub roadmap, in stage 4, Git Remotes. If you are new to Git and GitHub, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.