Guance Learn

Observability questions

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

Illustration of files, modules, and their dependencies
Technical guide

Manage deployment configuration in Node.js

Separate non-secret configuration from credentials, validate settings at startup, and choose explicit precedence and secret-delivery rules.

Illustration of Git branches and version history
Technical guide

Tag an older commit in Git

Create an annotated or lightweight tag at a verified historical commit, publish only the intended tag, and account for tag-triggered automation.

Illustration of files, modules, and their dependencies
Technical guide

Run a single test file in Node.js

Select a file or named test with the built-in runner, use only-mode correctly, and compare single-file commands across common test frameworks.

Illustration of Git branches and version history
Technical guide

Undo an accidental git commit --amend

Recover the original commit through the reflog, preserve the amended version, and separate the added changes into a new commit.

Illustration of Git branches and version history
Technical guide

Undo git add without discarding your changes

Unstage files or selected hunks, keep working-tree edits intact, and handle newly added files before the repository’s first commit.

Illustration of Git branches and version history
Technical guide

Undo a completed Git rebase

Find the pre-rebase branch tip in the reflog, preserve both histories, and distinguish recovering commits from restoring uncommitted work.

Illustration of Git branches and version history
Technical guide

Recover after an accidental git reset

Locate the old commit with a reflog or verified ORIG_HEAD, protect it with a branch, and avoid discarding surviving work during recovery.

Illustration of Git branches and version history
Technical guide

Undo or revise your latest local Git commit

Keep changes staged, move them back to the working tree, discard them deliberately, or amend the commit. Use a corrective commit for shared history.

Illustration of Git branches and version history
Technical guide

Undo a Git pull and recover the previous state

Identify whether pull merged, rebased, or fast-forwarded, preserve current work, and choose the verified pre-pull commit before resetting.

Illustration of Git branches and version history
Technical guide

Undo commits that have already been pushed

Create corrective commits for shared history, handle multi-commit and merge rollbacks, and limit force pushes to explicitly coordinated rewrites.

Illustration of Git branches and version history
Technical guide

Undo a Git merge that has not been pushed

Abort an unfinished merge or return to a verified pre-merge commit, accounting for ORIG_HEAD changes, fast-forwards, and current local edits.

Metrics monitoring and troubleshooting
Explainer

How to uninstall Grafana and remove its data

Remove Grafana packages, containers, or Helm releases, then decide which configuration, dashboards, databases, and persistent storage to keep.