Delete remote repository from git shell

I am new to Git and stackoverflow. I just want to ask how to delete a remote repository from git shell as deleting from the web page is a long task.

  • How do I keep an svn:external up to date using git-svn?
  • Is there a way to remove the history for a single file in Mercurial?
  • In short, what are the advantages of git and mercurial over subversion?
  • Multiple simultaneous version control systems?
  • DVCS with “named commits”
  • Distributed version control for HUGE projects - is it feasible?
  • Git merge/compare tool setup
  • Using back-ticks in Python subprocess
  • Switching branches in Git with external dependencies
  • Accessing the git shell in GitX on OS X
  • How do you get git to ignore all contents of a directory?
  • get hash without committing
  • 2 Solutions collect form web for “Delete remote repository from git shell”

    I don’t think this is really what you want to do, but to remove a remote repository from your local repository you can do this:

    git remote remove <remote-name>

    Note that this will only remove the link you have in your local repository, it will not touch anything wherever your remote repository actually is.

    If you want to physically delete it there, you have to do it there. This is not something that can—or should—be done from a local repository.

    Short answer: No

    There is no way to actually delete a repository hosted on github from the git shell without quite complex scripting and actually sending data over HTTP. On a side note the questions you post on SO should show the efforts you have given. Welcome to SO 🙂

    Git Baby is a git and github fan, let's start git clone.