What is the purpose of the .gitignore file?

Git Easy

Git — Easy

What is the purpose of the .gitignore file?

Key points

  • The .gitignore file filters out unwanted files
  • It ensures a tidy commit history
  • Untracked files remain local

Ready to go further?

Related questions