Guance Learn

Observability questions

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

Illustration of application infrastructure and operations
Technical guide

How to reduce TCP sockets in TIME_WAIT

Diagnose connection churn and port pressure before tuning TIME_WAIT. Start with connection reuse and distinguish socket state from conntrack usage.

Illustration of files, modules, and their dependencies
Technical guide

Reduce the size of node_modules

Measure dependency storage, omit development tools from runtime installs, and assess pruning, deduplication, shared stores, and bundling.

Illustration of Git branches and version history
Technical guide

Remove .DS_Store files from a Git repository

Untrack Finder metadata with a Git pathspec, add a shared ignore rule, and preserve existing global ignore settings.

Illustration of Git branches and version history
Technical guide

Remove a file or its changes from the latest Git commit

Distinguish removing a newly added file from restoring an older tracked version, then amend only an unpublished commit or make a corrective commit.

Illustration of files, modules, and their dependencies
Technical guide

Delete files and directories in Node.js

Use unlink for files and rm for recursive removal, handle missing paths deliberately, and understand permissions and deletion semantics.

Illustration of Git branches and version history
Technical guide

Choose between git reset --soft, --mixed, and --hard

Understand which reset mode changes HEAD, the index, and the working tree, then choose how to keep or discard a local commit’s changes.

Illustration of Git branches and version history
Technical guide

Remove a Git submodule from a repository

Unregister and remove a submodule without discarding its local work, commit the superproject change, and distinguish removal from optional metadata cleanup.

Illustration of Git branches and version history
Technical guide

Remove untracked files from a Git working tree

Preview git clean before removing untracked files, choose whether ignored files belong in the cleanup, and keep nested repositories and backups in mind.

Application troubleshooting illustration
Explainer

Stage files already deleted from disk in Git

Record tracked deletions with git add -u, distinguish them from other changes, and recover a staged deletion from the correct source.

Illustration of Git branches and version history
Technical guide

Remove the origin remote from a Git repository

Delete a local remote configuration, retain wanted commits first, or change the URL without removing the remote.

Illustration of Git branches and version history
Technical guide

Rename a local or remote Git branch

Rename a branch locally, publish the new name, and update collaborators, pull requests, and branch-specific configuration.

Illustration of Git branches and version history
Technical guide

Rename a Git tag without confusing its target or annotation

Create a replacement tag at the same commit, handle annotated and signed tags explicitly, and update fully qualified remote tag refs only when intended.