GIT ignore commands

Hello all
i have this get ignore

/.local
/.local/*
.settings
.settings/*
/.settings
/.settings/*
.objects
.objects/*
/.objects
/.objects/*
/.project/*
.project/*
/.screenshots/
.screenshots/*
/.project/*
.project/*
.tmh
.tmh/*
/.tmh
/.tmh/ 

I looked around in many post but never worked correctly
any tips here !

/Hazem

@Hazem_Saleh

can you please elaborate your ask?

cheers

hi,
its always need to commit for example screenshots

/Hazem
even its already in the ignore list !!

@Hazem_Saleh

I believe ** is what you need to use…its more a git command as auch

.screenshots\** should ignore all inside and also if you give like this then gitignore file relative pth is chaecked so it should be in main project folder

Cheers

cool i will try this on all and see how it goes thanks

1 Like

hi agian,
i update both the main and my branch but still same issue!

/hazem

I have this .ignore file in the main folder, maybe it helps.

.entities/
.local/
.objects/
.screenshots/
.settings/
.templates/
.tmh/
.variations/

1 Like

@Hazem_Saleh

Where is your file…as mentioned it is the relative path…so have it in project folder

Cheers

hi im collecting all project on one folder !
so the git ignore is on the first level!

its works correct on Visual studio !

/Hazem

hi,
thanks for answering, i have the same
but same issue !