Git - Fatal: don't delete all non-dotted urls
2 answers
From Git remote
documentation , --delete
should work with:
git remote set-url --push --delete origin [https://github.com/dpressey/barberapp.git]
because the syntax --delete <name> <url>
is where <url>
is regex.
As a side note, it should be pointed out that there is also git remote rm <name>
one that removes all remote objects matching the given name, regardless of the URLs.
+4
source to share