To ignore certain files from being tracked in Git, list them in a _______ file.

  • .exclude
  • .gitignore
  • exclude.txt
  • ignorefile
The correct option is "b) .gitignore." The .gitignore file is used to specify files or patterns that Git should ignore. This helps in preventing unnecessary files from being tracked, such as temporary files or compiled binaries.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *