8

I have small laravel project that committed to git. Then I successfully deleted a remote repository by manually(Setting -> Delete this repository), it work fine. But once I try to make new repository on vs code, then I got

$ git init
Reinitialized existing Git repository in C:/xampp/htdocs/uploadcanvas/.git/

Actually, this repository already deleted. But I may need to clear some cache/file to create new repository. But I'm do not know how to manage that.

Any advise or guidance would be greatly appreciated, Thanks.

joenpc npcsolution
  • 631
  • 3
  • 9
  • 20

3 Answers3

22

I think you can delete .git folder.

Marcin Orlowski
  • 68,918
  • 10
  • 117
  • 136
5

Try with below command

sudo rm -rf .git

then

git init
Raj Gohel
  • 839
  • 4
  • 12
4

I think you should delete your .git folder. But unfortunately, .git folder is hidden by default. You can remove it in your settings > Files:Exclude. save your work, save your work. You should see the .git folder now so you can delete it

Abass Tope
  • 41
  • 1
  • 1