Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Illustration of a Git commit history and an earlier revision
Technical guide

Create a Git branch from an earlier commit

Start a branch at an earlier commit or release tag, keep detached-HEAD work, and understand what happens when the branch later merges into main.

Log collection paths feeding a shared processing destination
Explainer

Can Filebeat load multiple configuration files?

Split Filebeat inputs and modules into separate YAML files, enable live reloading, and keep output settings in the main configuration.

Illustration of Git branches and shared commit history
Technical guide

Can Git serve as a backup tool?

Use Git remotes, mirrors, and bundles to preserve committed history, while accounting for uncommitted files, LFS objects, repository metadata, and restore tests.

Illustration of a Git commit history and an earlier revision
Technical guide

Recover a deleted Git branch

Find a surviving branch tip in local refs, the reflog, or remaining objects, then recreate the branch. Recovery depends on object availability, not a fixed deadline.

Illustration of a Git commit history and an earlier revision
Technical guide

Commit only part of a file in Git

Use git add --patch to stage selected changes, inspect the complete staged snapshot, and commit it without accidentally including the rest of the file.

Illustration of Git branches and shared commit history
Technical guide

Compare two Git branches

Choose endpoint diffs, merge-base diffs, or commit ranges to compare Git branches, then generate and check a patch when you need to transfer file changes.

Illustration of Git history and collaboration
Technical guide

Create a Git tag and publish it on GitHub

Create and push a specific Git tag, distinguish annotated tags from signatures and releases, and handle an incorrect release marker.

Illustration of Git branches and commit history
Technical guide

Create a Git branch from another branch

Choose a local or remote-tracking branch as a starting point, control upstream tracking, and understand how the new branch diverges.

Illustration of Git history and collaboration
Technical guide

Export uncommitted Git changes as a patch

Export staged, unstaged, new, and binary files as a Git patch; check application, handle conflicts, and preserve commits with format-patch.

Illustration of Git branches and commit history
Technical guide

What is the difference between git add -A and git add .?

In modern Git, both stage additions, modifications, and deletions. Their path scope differs when you run them from a subdirectory.

Illustration of Git history and collaboration
Technical guide

Fetch and check out a specific Git tag

Fetch a Git tag, make a shallow clone or source archive, preserve detached commits, and verify the revision used for deployment.

Illustration of Git history and collaboration
Technical guide

Clone a Git repository with its submodules

Clone nested Git submodules, check out recorded commits, deliberately update dependencies, and configure private-repository access in CI.