EmmEEdu
Developer Reference Manuals

Developer Command Cheatsheets

High-frequency commands for Git, Linux, Docker, Kubernetes, npm, and PowerShell with syntax flags, danger levels, and one-click copy.

git Safe

Initialize Repository

Creates an empty Git repository or reinitializes an existing one by creating a hidden .git directory.

git init [directory] [--initial-branch=<branch>]
2 flags documented2 examples
git Safe

Add to Staging Area

Updates the index (staging area) using the current content found in the working tree, preparing files for the next commit.

git add <pathspec>...
3 flags documented2 examples
git Safe

Record Changes to Repository

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]
3 flags documented2 examples
git Caution

Reapply Commits on Top of Another Base

Re-applies commits on top of another base tip, creating a linear history instead of merge bubbles.

git rebase [-i] <upstream> [branch]
3 flags documented2 examples
git Destructive

Hard Reset Working Tree & Index

Resets the index and working tree. Any changes to tracked files in the working tree since <commit> are discarded permanently.

git reset --hard [<commit>]
3 flags documented2 examples
git Safe

Reference Logs (The Git Undo Safety Net)

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>]
2 flags documented2 examples
docker Safe

Run Container from Image

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...]
5 flags documented2 examples
kubernetes Safe

Display Kubernetes Resources

Fetches and displays one or many resources from the Kubernetes API server.

kubectl get (TYPE [NAME | -l label] | TYPE/NAME ...) [flags]
3 flags documented2 examples
curl Safe

Transfer Data from/to a Server

Command line tool and library for transferring data with URLs supporting HTTP, HTTPS, FTP, WebSocket, and dozens more protocols.

curl [options] <url>
5 flags documented2 examples
npm Safe

Install Package Dependencies

Downloads and installs dependencies declared in package.json and generates/updates package-lock.json.

npm install [<package-spec>...] [flags]
3 flags documented2 examples