Force delete .git folder on Windows
Solution 1:
del
only deletes files.
To delete folders, use one of the following:
rmdir /s /q .git
rd /s /q .git
That will delete the directory recursively without prompting.
del
only deletes files.
To delete folders, use one of the following:
rmdir /s /q .git
rd /s /q .git
That will delete the directory recursively without prompting.