Which file in a Git repository typically contains a list of files to be ignored?
- .gitignore
- .gitexclude
- .ignore
- .exclude
The file that contains a list of files to be ignored in a Git repository is .gitignore. Developers use this file to specify patterns of files and directories that should be excluded from version control.
Loading...
Related Quiz
- Which Git Hook is triggered before a commit is finalized?
- A developer wants to temporarily save changes without committing them to maintain a clean project history. What Git feature should they use?
- How should a distributed team structure their Git branches to optimize collaboration?
- What is the primary purpose of the .gitignore file in a Git repository?
- A Git Subtree allows you to keep a copy of an external repository in a subdirectory, treating it as a __________ project.