How to delete my repository on Git using command line?
53,002
Solution 1
For local repo, run
rm -r .git
You may not delete a repo remotely to github via command line.
Solution 2
try
rm -r .git
from the root of the repository.
Author by
Sundararajan KS
Updated on August 24, 2020Comments
-
Sundararajan KS over 3 years
Possible Duplicate:
How to fully delete a git repository created with init?I have a test repository on git and I want to delete it using command line. I found that
git rm <file>
deleted the files within the repository and not the repository itself. Any one can help here? -
Sundararajan KS over 11 yearsI want to delete the repo present on github using commandline
-
tback over 11 yearsThis isn't possible as linquize pointed out already.
-
Revolucion for Monica almost 7 yearsThank you for your answer. What do you mean with You may not delete a repo remotely to github via command line. ? We shouldn't delete the repository locally first ? Or on GitHub first ?