Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete git repository(laravel project) on visual studio code

Tags:

git

laravel

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.

like image 508
joenpc npcsolution Avatar asked Apr 28 '19 06:04

joenpc npcsolution


2 Answers

I think you can delete .git folder.

like image 85
ramin ashrafimanesh Avatar answered Sep 30 '22 18:09

ramin ashrafimanesh


Try with below command

sudo rm -rf .git

then

git init
like image 34
Raj Gohel Avatar answered Sep 30 '22 18:09

Raj Gohel