cpliakas / git-wrapper

A PHP wrapper around the Git command line utility.
MIT License
505 stars 68 forks source link

GitWrapper holds permission on repository #228

Closed Cankar001 closed 2 years ago

Cankar001 commented 2 years ago

I cloned a repository using the GitWrapper, that worked perfectly fine. However I need to remove the cloned repository after my main task finishes. I use laravel 9 and it seems that laravel has problems removing the .git folder. The rest of the repository gets removed successfully and using chmod('path/', 0777); also did not work. Is there any function in the GitWrapper that is capable of also removing the .git folder?