Dolphin placing .directory timestamps unprompted

Does anyone know of a way to disable this? The file is getting in my git commits

Hi, welcome to these forums

The only way to do this is to remove them, then set the General View to be applied to all folders.

You can add an entry to you global .gitignore file, like:


.directory
.DS_Store

(The second line seems to work for folks on macOS.)
Cheers!

Slight correction to my post above:
In order to include all subdirectories in a project, you need to indicate it with »**«, (double asterisk is match, or »glob« for the local folder and any nested folders).


**/.DS_Store
**/.directory

Hope this helps.