0

How to exclude the files from git which don't have any extension?

I have a project with C and python files. I have include a `.gitignore` file to the project. I want to exclude all the files which don't have any extension to it. Can anybody help me to write expression in `.gitignore` to ignore these files?

23rd Dec 2020, 11:16 AM
KUMAR SHANU
KUMAR SHANU - avatar
5 Answers
+ 1
Martin Taylor that is I am asking how to specify those files which do you have any extensions and I don't want to write each file name in gitignore one by one.
24th Dec 2020, 6:18 AM
KUMAR SHANU
KUMAR SHANU - avatar
0
Usman Muhammed how this will help me?
24th Dec 2020, 6:17 AM
KUMAR SHANU
KUMAR SHANU - avatar