Guance Learn

Observability questions

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

Illustration of application infrastructure and operations
Technical guide

Troubleshoot dial tcp: connection refused

Check processes, listening addresses, network namespaces, and firewall rejections when a TCP connection to 127.0.0.1:9443 is refused.

Illustration of Git branches and version history
Technical guide

Change the author name and email on multiple Git commits

Correct author information with git filter-repo or interactive rebase, distinguish author from committer, and plan a coordinated history rewrite.

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.

Illustration of Git branches and commit history
Technical guide

Move uncommitted changes from main to a new Git branch

Create a branch at the current commit to keep staged and unstaged work, or use a deliberate stash workflow when the destination starts elsewhere.

Illustration of Git branches and commit history
Technical guide

Get the current Git commit hash

Resolve HEAD to a full or abbreviated commit ID, handle repositories without a first commit, and label builds without confusing the ID with uncommitted changes.

Illustration of Git history and collaboration
Technical guide

Inspect the changes saved in a Git stash

Inspect tracked and untracked stash contents, compare saved snapshots, and restore changes for review without accidentally dropping the stash.

Illustration of Git history and collaboration
Technical guide

Ignore a directory except for one subdirectory in Git

Use ordered .gitignore exceptions to keep one nested directory, diagnose matching rules, and distinguish ignored files from already tracked files.

Illustration of Git history and collaboration
Technical guide

Git fetch vs. pull: inspect changes before integrating them

Understand what fetch updates, choose an explicit pull strategy, and handle divergent history or uncommitted work without assuming a universal default.

Illustration of Git branches and version history
Technical guide

Stop Git from asking for credentials on every push

Configure an HTTPS credential helper or SSH key for GitHub, manage expired tokens, and troubleshoot repeated authentication prompts.

Illustration of Git history and collaboration
Technical guide

What does Git push do without a branch name?

Understand push.default, remote selection, upstream tracking, and explicit refspecs before relying on a bare git push.

Illustration of Git branches and version history
Technical guide

Fix a rejected push after rebasing a feature branch

Understand non-fast-forward pushes after rebase, use an explicit force-with-lease safely, and protect work on shared branches.

Illustration of Git branches and version history
Technical guide

Troubleshoot Git push authentication failures

Check HTTPS tokens, SSH keys, cached credentials, repository permissions, and organization SSO when a Git push fails to authenticate.