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 <ejmr@plutono.com>
This tip shows how to display the most recent tag reachable on the
current branch. The use of `--abbrev=0` is necessary otherwise the
output would contain additional information (specifically part of a
commit hash), appended to the tag name. It's worth noting that this
command is usable for branches other than the current one, e.g.
$ git describe --tags --abbrev=0 master
That would show the most recent tag on the `master` branch regardless
of whatever branch the user is currently on.
Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>
This patch adds the command `git help everyday`, which shows a
man-page that comes with Git describing the most common commands for
everyday usage. The tip is specifically at the top of the list on the
grounds that it is the fastest way to find help for performing basic
operations in Git, which is very useful to people new to Git.
Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>