To ignore file changes in your working directory, you should update the _________ file in your Git repository.

  • .gitignore
  • .gitconfig
  • .ignore
  • .exclude
The correct option is .gitignore. This file contains a list of file patterns that Git should ignore when tracking changes in your working directory. It's useful for excluding temporary files, build artifacts, and other files that shouldn't be part of your version control.
Add your answer
Loading...

Leave a comment

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