Matthew Hoggan
Matthew Hoggan

Reputation: 7594

Delete git repository from server from local command line

I have a git repo cloned locally. I want to permanently delete the repo from the server so other developers cannot check it out. This is to prevent confusion. How do I do this from my local command line?

Upvotes: 0

Views: 1606

Answers (2)

eftshift0
eftshift0

Reputation: 30156

If you want to physically remove a repo from a server I think you have to log into the server and remove the repo directory. If you are talking about github or something like that, they offer ways to remove repos.

Upvotes: 1

Garrett Kadillak
Garrett Kadillak

Reputation: 1074

Unfortunately, this can't be done with git commands. However the Github Developer API allows you to delete from a shell, a repo hosted on github.

Upvotes: 1

Related Questions