Reputation: 819
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
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