How to delete or remove a local Git repo (repository)

If you want to delete everything (.git folder, files and folders), just delete the whole directory

Mac OSX
Open Terminal and run the following

rm -rf directoryname

Windows
Right-click the folder and choose Delete. It will goes to Recycle bin

Note: this works for Git Clone and Git Init

%d bloggers like this: