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

[PATCH] doc: fix a typo inside `--bare` section

From
AGAngel via GitGitGadget <gitgitgadget@gmail.com>
Date
Jun 6, 2020, 12:14 UTC
Message-ID
<pull.649.git.1591445695220.gitgitgadget@gmail.com>
From: Mark Williams <the.f8er@gmail.com>

Add a word `variable` and a `$` sign before variable's name in `--bare` argument section. Without this word someone might be confused.

Signed-off-by: Mark Williams <the.f8er@gmail.com>
---
    doc: fix a typo inside --bare section
    
    doc: fix a typo inside --bare section
    
    Add a word variable and a $ sign before variable's name in --bare 
    argument section. Without this word someone might be confused.
    
    Signed-off-by: Mark Williams the.f8er@gmail.com [the.f8er@gmail.com]
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-649%2Fvv7v7%2Fpatch-3-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-649/vv7v7/patch-3-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/649
 Documentation/git-init.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt
index adc6adfd380..7f8b0bd6c4d 100644
--- a/Documentation/git-init.txt
+++ b/Documentation/git-init.txt
@@ -45,8 +45,8 @@ Only print error and warning messages; all other output will be suppressed.
 
 --bare::
 
-Create a bare repository. If `GIT_DIR` environment is not set, it is set to the
-current working directory.
+Create a bare repository. If the `$GIT_DIR` environment variable is not set, it
+is set to the current working directory.
 
 --object-format=<format>::
 

base-commit: 20514004ddf1a3528de8933bc32f284e175e1012
-- 
gitgitgadget
Next: Junio C Hamano
Message 1 of 3 in “doc: fix a typo inside `--bare` section”
  1. doc: fix a typo inside `--bare` sectionAngel via GitGitGadget, Jun 6, 2020
  2. Junio C HamanoJun 7, 2020
  3. F8ERJun 7, 2020

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.