arctic
arctic

Reputation: 819

How do I gitignore a word document?

For example, I have a word document titled results.docx inside of the directory research. How would I gitignore this word document from the research directory?

Upvotes: 1

Views: 2787

Answers (1)

Manjuboyz
Manjuboyz

Reputation: 7056

To remove all files of .docx use below

*.docx

if you want to ignore a specific file under a specific folder/directory then use:

folder_name/results.docx

inside .gitignore file.

Upvotes: 6

Related Questions