git-trim icon indicating copy to clipboard operation
git-trim copied to clipboard

Add * to exclude configuration

Open bland-industries opened this issue 2 years ago • 5 comments

It would be nice to have a wildcard for the configuration so I can use save/* as an exclude configuration and would not remove any branches in the save branch "folder"

bland-industries avatar Feb 06 '23 20:02 bland-industries

Absolutely. Have you tried it? It might just work...

jasonmccreary avatar Feb 06 '23 20:02 jasonmccreary

I just did a test and it seems to still want to delete save/test when I add save/*. Though I just started using this tool today so maybe I am miss understanding something

bland-industries avatar Feb 06 '23 20:02 bland-industries

I'm not sure either. There's a chance it might have just worked. I'd have to poke around the code. But I'm glad if you or someone else wants to open a PR to support this.

jasonmccreary avatar Feb 06 '23 20:02 jasonmccreary

I do not know bash. but this might be an interesting thing to learn it on. I won't commit to it so if someone else wants to take it on go ahead.

bland-industries avatar Feb 06 '23 20:02 bland-industries

No problem. I'll leave this and will try to add it myself in the coming weeks if it's still open.

jasonmccreary avatar Feb 06 '23 20:02 jasonmccreary