High-frequency commands for Git, Linux, Docker, Kubernetes, npm, and PowerShell with syntax flags, danger levels, and one-click copy.
Creates an empty Git repository or reinitializes an existing one by creating a hidden .git directory.
git init [directory] [--initial-branch=<branch>]Updates the index (staging area) using the current content found in the working tree, preparing files for the next commit.
git add <pathspec>...Captures a snapshot of the project's currently staged changes and records it into the permanent commit graph with author details and a log message.
git commit -m "<message>" [options]Re-applies commits on top of another base tip, creating a linear history instead of merge bubbles.
git rebase [-i] <upstream> [branch]Resets the index and working tree. Any changes to tracked files in the working tree since <commit> are discarded permanently.
git reset --hard [<commit>]Reference logs record when the tips of branches and other references were updated in the local repository. Enables recovering 'lost' commits from bad rebases or hard resets.
git reflog [show] [<ref>]Creates a writeable container layer over the specified image and executes it with assigned ports, environment variables, and storage volumes.
docker run [OPTIONS] IMAGE [COMMAND] [ARG...]Fetches and displays one or many resources from the Kubernetes API server.
kubectl get (TYPE [NAME | -l label] | TYPE/NAME ...) [flags]Command line tool and library for transferring data with URLs supporting HTTP, HTTPS, FTP, WebSocket, and dozens more protocols.
curl [options] <url>Downloads and installs dependencies declared in package.json and generates/updates package-lock.json.
npm install [<package-spec>...] [flags]