Skip to contentSkip to conversation

Fix small typo in .gitignore documentation

PATCH In review Julien Richard via GitGitGadget 2 participants 2 messages Mar 4, 2021 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix small typo in .gitignore documentation

From: Julien Richard <[email protected]>

---
Fix small typo in .gitignore documentation

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-972%2Fjairbubbles%2Ffix-small-typo-in-gitignore-documentation-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-972/jairbubbles/fix-small-typo-in-gitignore-documentation-v1
Pull-Request: https://github.com/git/git/pull/972

 Documentation/gitignore.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gitignore.txt +1 -1
index d47b1ae29637..5751603b13f4 100644
@@ -153,7 +153,7 @@ EXAMPLES
 --------
 
  - The pattern `hello.*` matches any file or folder
-   whose name begins with `hello`. If one wants to restrict
+   whose name begins with `hello.`. If one wants to restrict
    this only to the directory and not in its subdirectories,
    one can prepend the pattern with a slash, i.e. `/hello.*`;
    the pattern now matches `hello.txt`, `hello.c` but not

base-commit: ec125d1bc1053df7e4103f71ebd24fe48dd624a2

Signature · 1 line
gitgitgadget
#1 lore raw

Documentation/gitignore.txt EXAMPLES · line 159

Quoted 13 lines · Julien Richard via GitGitGadget
Documentation/gitignore.txt +1 -1
index d47b1ae29637..5751603b13f4 100644
@@ -153,7 +153,7 @@ EXAMPLES
 --------
 
  - The pattern `hello.*` matches any file or folder
-   whose name begins with `hello`. If one wants to restrict
+   whose name begins with `hello.`. If one wants to restrict
    this only to the directory and not in its subdirectories,
    one can prepend the pattern with a slash, i.e. `/hello.*`;
    the pattern now matches `hello.txt`, `hello.c` but not

Thanks, will queue.