How to force git to ignorirovat all the contents of a directory except one file?
Fundamentally a project is a file
, its contents are:
$ cat .gitignore
You need to ignore the contents of the directories
, but it does not ignore files
inside these directories. My version is not working, what am I doing wrong, how?