⊗gtPmRmRm 55 of 65 menu

Deleting an Remote Repository in Git

It is possible to delete an remote repository. More precisely, we can remove the connection between the repository name and its link. The repository itself will still remain on the Internet.

To remove the name of an remote repository, use the remote rm command, in which the name of the remote repository is specified after a space:

git remote rm origin

Let's check if we have a remote repository:

git remote

After running the command, we will see only an empty line, which means that we do not have an remote repository, including tracked branches and all the settings that we made for it.

Remove your remote repository name.

English
БеларускаяDeutschEspañolFrançaisPortuguêsРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline