git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] remote: document the 'rm' subcommand

From
James Bowes <jbowes@dangerouslyinc.com>
Date
Jul 7, 2007, 15:22 UTC
Message-ID
<20070707152242.GC19782@crux.rdu.redhat.com>
In-Reply-To
<Pine.LNX.4.64.0707052338150.9789@racer.site>
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
---

So I still think 'git remote rm' would be nice to have. Here's a bit of documentation for it.

 Documentation/git-remote.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 61a6022..fff40ca 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -11,6 +11,7 @@ SYNOPSIS
 [verse]
 'git-remote'
 'git-remote' add [-t <branch>] [-m <branch>] [-f] <name> <url>
+'git-remote' rm <name>
 'git-remote' show <name>
 'git-remote' prune <name>
 'git-remote' update [group]
@@ -46,6 +47,11 @@ With `-m <master>` option, `$GIT_DIR/remotes/<name>/HEAD` is set
 up to point at remote's `<master>` branch instead of whatever
 branch the `HEAD` at the remote repository actually points at.
 
+'rm'::
+
+Remove the remote named <name>. All remote tracking branches and
+configuration settings for the remote are removed.
+
 'show'::
 
 Gives some information about the remote <name>.
-- 
1.5.3.rc0.838.gdf39a-dirty
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 7 in “remote: add 'rm' subcommand”
  1. remote: add 'rm' subcommandJames Bowes, Jun 5, 2007
  2. Johannes SchindelinJul 5, 2007
  3. remote: document the 'rm' subcommandJames Bowes, Jul 7, 2007
  4. Johannes SchindelinJul 7, 2007
  5. Junio C HamanoJul 7, 2007
  6. Junio C HamanoJul 14, 2007
  7. Junio C HamanoSep 3, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.