.DS_Store not being ignored in Git Manager

Wappler: v3.7.1
OS: MacOS Big Sur
Server Model: PHP

Suddenly the .DS_Store files are being included in Git Manager. I’m working on a project on two Macs so don’t want these files pushed and pulled. I’ve added them to .gitignore but it’s not making any difference. I’ve also restarted Wappler several times. They’ve never been included before despite not being in .gitignore so I can only think this is a new bug since v3.7.1.

.gitignore content is this:

node_modules
.svn
.DS_Store
images/.DS_Store

I though this was just another random Git issue. Turns out not.
I can confirm I am seeing this too… only after updating to 3.7.1.

1 Like

I always assume it’s just me so it’s good to know it isn’t this time!

This still seems to be a bug. My .DS_Store file has started appearing again in my Uncommitted Changes list and adding it to .gitignore isn’t making any difference.

Well it should be ignored if it is in.gitignore

What do you have there?

Yes, I have it in .gitignore:

node_modules
.svn
.DS_Store
images/.DS_Store

I added the images/.DS_Store to try and ignore that aswell but it didn’t work.

It should be added as:

**/.DS_Store

Can you share a reference on what **/ means here?

**/ is a glob pattern meaning match in any subfolder

See also:

1 Like

And for general info about “glob” patterns, see the glob primar at:

Thank you.

That doesn’t make any difference. I don’t think the issue is the path, it seems to be ignoring the instruction altogether.

Adding files or paths to gitignore won’t do anything about the ones that were already added to your repository. It will only ignore files from that moment onwards.

You will need to remove those files from the repository by using -rm params for git

Thanks @JonL. I’ve done that so will see if it reappears.

1 Like

This has been fixed in Wappler 3.8.0
.DS_Store is added to the gitignore file.