I am new to Git. I have created an account on Bitbucket and downloaded TortoiseGit.
I\'m on Windows 7 and on the desktop I right clicked and thought \"add git repo h
With TortoiseGit 1.8.7.1, a warning message will be added when creating repository on special folders, such as Desktop, drive root, UNC root, User Profile, Windows Directory, system32, Program Files
The Create Repository menu item may be clicked by mistake.
Try this
git reset HEAD *
It would unstage all of your files and none of your changes will go away.
Do not run git reset --hard
that will delete all the files. Delete the hidden .git folder.
Press Win + R type in cmd
and press enter.
cd Desktop
rmdir /S .git
Make sure to turn on Show hidden files
in Explorer. Then delete .git
directory in your desktop