From d80c4ed36cff6330f17c482df4f6391317081463 Mon Sep 17 00:00:00 2001 From: Eric James Michael Ritz Date: Tue, 17 Nov 2015 21:20:38 -0500 Subject: [PATCH] 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 --- README.md | 6 ++++++ tips.json | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 0bce4e9..985c95b 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ * [Everyday Git in twenty commands or so](https://github.com/git-tips/tips#everyday-git-in-twenty-commands-or-so) +* [Show helpful guides that come with Git](https://github.com/git-tips/tips#show-helpful-guides-that-come-with-git) * [Overwrite pull](https://github.com/git-tips/tips#overwrite-pull) * [List of all files till a commit](https://github.com/git-tips/tips#list-of-all-files-till-a-commit) * [Git reset first commit](https://github.com/git-tips/tips#git-reset-first-commit) @@ -79,6 +80,11 @@ git help everyday ``` +## Show helpful guides that come with Git +```sh +git help -g +``` + ## Overwrite pull ```sh git fetch --all && git reset --hard origin/master diff --git a/tips.json b/tips.json index 72c2075..c2bb659 100644 --- a/tips.json +++ b/tips.json @@ -3,6 +3,10 @@ "title": "Everyday Git in twenty commands or so", "tip": "git help everyday" }, + { + "title": "Show helpful guides that come with Git", + "tip": "git help -g" + }, { "title": "Overwrite pull", "tip": "git fetch --all && git reset --hard origin/master"