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

[PATCH 2/2] Documentation: fix git-prune example usage

From
Jonathon Mah <me@jonathonmah.com>
Date
Jul 18, 2013, 07:12 UTC
Message-ID
<E676323F-CEDD-4072-B4FF-737143354401@JonathonMah.com>
In-Reply-To
<19D1767A-4C36-4A89-A9BB-9FED33289CD9@JonathonMah.com>
---
 Documentation/git-prune.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt
index 80d01b0..bf82410 100644
--- a/Documentation/git-prune.txt
+++ b/Documentation/git-prune.txt
@@ -59,7 +59,7 @@ borrows from your repository via its
 `.git/objects/info/alternates`:
 
 ------------
-$ git prune $(cd ../another && $(git rev-parse --all))
+$ git prune $(cd ../another && git rev-parse --all)
 ------------
 
 Notes
-- 
1.8.3.3.754.g9c3c367



Jonathon Mah
me@JonathonMah.com
Previous: Jonathon MahNext: Junio C Hamano
Message 2 of 3 in “Documentation: remove --prune from pack-refs examples”
  1. 1/2 Documentation: remove --prune from pack-refs examplesJonathon Mah, Jul 18, 2013
  2. 2/2 Documentation: fix git-prune example usageJonathon Mah, Jul 18, 2013
  3. Junio C HamanoJul 18, 2013

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.