I have the following contents in my .gitignore
file
**/*.txt
**/*.out
**/*.DS_store
**/*.exe
**/a.out
However, every time I compile my c++ files I get a.out
files as executable and I still get file as modified when I do git status
. I'll be thankful if someone can point me in the right direction.