git Verified current stable Not installed? Version Control

Git / List Available Guides

List Available Guides

List available Git guides for further reference.

$
Terminal
git help -g

When To Use

When onboarding new team members or refreshing knowledge on Git commands.

Pro Tip

Use the `--guides` flag to filter by metrics important to your workflow; performance can vary based on installed extensions.

Anatomy of Output

Understanding the result

Available Git Guides: Header

Indicates that the guides list is following.

Using Git: A Comprehensive Guide Guide Title

Detailed overview of commands with practical examples.

Git Hooks: Automating Processes Guide Title

Covers Git hooks functionality for pre-commit operations.

Version Control Best Practices Guide Title

Best practices to follow for successful version control implementation.

Power User Variants

Optimized versions

git help --guides | grep 'rebase'

Filter for guides related to Git rebase topics.

git help -g | less

Paginate the help output for easier navigation.

Unix Pipeline

Shell combinations

git help -g | grep 'merge'

Display all guides related to merging in Git.

Troubleshooting

Common pitfalls

fatal: no available guides found

Solution: Ensure Git is correctly installed and updated.

git: 'help' is not a git command. See 'git --help'.

Solution: Verify command syntax or check if Git is in your PATH.

error: 'guides' not found

Solution: Check for the correct flag usage; it may not be supported.

Command Breakdown

What each part is doing

git
Base Command
The executable that performs this operation. Here it runs Git before the shell applies any redirect operators.
-g
g| guides
The value supplied for g| guides.
-g
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative version control tools for the same job.