git ignore all files without extension code example Example: gitignore file without extension * !/**/ !*.*