Skip to content

Commit d80c4ed

Browse files
author
Eric James Michael Ritz
committed
Show how to read guides that come with Git
This patch adds a tip explaining `git help -g`. That command will list a collection of useful guides that come "pre-built" with Git, e.g. `git help workflows` and `git help revisions`. These are useful resources for learning and looking-up common Git concepts and techniques, and that broad usefulness is the justification for placing the tip near the very top of the list. Signed-off-by: Eric James Michael Ritz <[email protected]>
1 parent 35376fe commit d80c4ed

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<!-- @doxie.inject start toc -->
55
<!-- Don’t remove or change the comment above – that can break automatic updates. -->
66
* [Everyday Git in twenty commands or so](https://github.com/git-tips/tips#everyday-git-in-twenty-commands-or-so)
7+
* [Show helpful guides that come with Git](https://github.com/git-tips/tips#show-helpful-guides-that-come-with-git)
78
* [Overwrite pull](https://github.com/git-tips/tips#overwrite-pull)
89
* [List of all files till a commit](https://github.com/git-tips/tips#list-of-all-files-till-a-commit)
910
* [Git reset first commit](https://github.com/git-tips/tips#git-reset-first-commit)
@@ -79,6 +80,11 @@
7980
git help everyday
8081
```
8182

83+
## Show helpful guides that come with Git
84+
```sh
85+
git help -g
86+
```
87+
8288
## Overwrite pull
8389
```sh
8490
git fetch --all && git reset --hard origin/master

tips.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"title": "Everyday Git in twenty commands or so",
44
"tip": "git help everyday"
55
},
6+
{
7+
"title": "Show helpful guides that come with Git",
8+
"tip": "git help -g"
9+
},
610
{
711
"title": "Overwrite pull",
812
"tip": "git fetch --all && git reset --hard origin/master"

0 commit comments

Comments
 (0)