Knowee
Questions
Features
Study Tools

What needs to be added to .gitignore to hide all Microsoft Word files with the extension .doc?1 point possible~doc./doc*.doc!*.docdoc!*$%unanswered

Question

What needs to be added to .gitignore to hide all Microsoft Word files with the extension .doc?

1 point possible

  • ~doc
  • ./doc*
  • !*.doc
  • doc!*$%

unanswered

🧐 Not the exact question you are looking for?Go ask a question

Solution

To hide all Microsoft Word files with the extension .doc in a git repository, you need to add the following line to your .gitignore file:

*.doc

This line tells git to ignore all files that have the .doc extension. Here are the steps:

  1. Open your .gitignore file in a text editor. If you don't have a .gitignore file, you can create one in the root directory of your repository.

  2. Add *.doc to a new line in the file.

  3. Save and close the file.

  4. Commit the changes to your .gitignore file in your repository.

Now, all .doc files will be ignored by git.

This problem has been solved

Similar Questions

How to get rid of all unknown git files?1 point possiblegit remove-allgit cleargit cleangit purgeunanswered

Which is not a Microsoft Office extension?Group of answer choices.xlsx.txt.pptx.docx

Designations at the end of file names such as .docx and .html are called _____________.answerFile domainsFile extensionsFile permissionsFile properties

A file with a .ppt or .pptx extension was created in Microsoft Office ________.

What are the file types generally accepted by the Plagiarism tools? Microsoft Word PowerPoint WordPerfect All of the above

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.