stkvtflw stkvtflw - 1 year ago 127
Git Question

Remove git repo

Accidentally I've created some files in


I've initiated git repo
git remote add origin git@bitbucket...

then i did this from

mv projectname projectname_d
mv projectname_d/projectname projectname
rm -rf projectname_d

Then i've found out, that repo is located in
somehow, so if i run
git status
it lists all folders in

How do i fix this?

Answer Source

Try rm -r .git from the repo root

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download