Cheat Sheets
Quick-reference cheat sheets for CI/CD and the tools around it.
Printable quick-reference cheat sheets for GitHub Actions, GitLab CI, Docker, kubectl, Helm, and Git - the syntax and commands you look up constantly.
CI platforms
GitHub Actions, GitLab CI.
Cron expressions cheat sheetA cron expressions cheat sheet - the five fields, special characters, common schedules, and ready-to-use exam…
GitHub Actions cheat sheetA GitHub Actions cheat sheet - triggers, jobs, steps, contexts, expressions, caching, matrix, and the workflo…
Actions contexts cheat sheetA GitHub Actions contexts cheat sheet - github, env, vars, secrets, job, steps, runner, matrix, and needs wit…
Actions expressions cheat sheetA GitHub Actions expressions cheat sheet - operators, status functions, string and object helpers, and the ${…
Actions triggers cheat sheetA GitHub Actions triggers cheat sheet - on: events, activity types, branch/path/tag filters, schedule cron, a…
GitLab CI keywords cheat sheetA GitLab CI keywords cheat sheet - job, rules, needs, cache, artifacts, extends, variables, and the .gitlab-c…
GitLab CI cheat sheetA GitLab CI/CD cheat sheet - stages, rules, cache, artifacts, needs, and the .gitlab-ci.yml keywords you use…
Containers & K8s
Docker, kubectl, Helm.
Docker cheat sheetA Docker cheat sheet - build, run, images, volumes, networks, Dockerfile instructions, and compose commands f…
Docker CLI cheat sheetA Docker CLI cheat sheet - run, build, ps, exec, logs, images, volumes, networks, and the prune commands for…
Docker Compose cheat sheetA docker compose cheat sheet - up, down, build, logs, exec commands plus the compose.yaml service keys you co…
Dockerfile instructions cheat sheetA Dockerfile instructions cheat sheet - FROM, RUN, COPY, ENV, ARG, ENTRYPOINT, CMD, HEALTHCHECK, and multi-st…
Helm cheat sheetA Helm cheat sheet - install, upgrade, rollback, template, repo, and dependency commands for managing Kuberne…
kubectl cheat sheetA kubectl cheat sheet - get, describe, logs, apply, rollout, debug, and context commands for daily Kubernetes…
Version control
Git.
Git branching cheat sheetA Git branching cheat sheet - create, switch, merge, rebase, delete branches, plus fast-forward vs merge comm…
Git cheat sheetA Git cheat sheet - branching, committing, rebasing, stashing, undoing mistakes, and the recovery commands th…
Git CLI cheat sheetA Git CLI cheat sheet - config, remotes, stash, tags, cherry-pick, bisect, and the plumbing commands beyond t…
Semantic versioning cheat sheetA semantic versioning cheat sheet - MAJOR.MINOR.PATCH rules, prerelease and build metadata, and the npm range…
Node & package managers
npm, pnpm, yarn.
npm scripts cheat sheetAn npm scripts cheat sheet - run, ci, install, lifecycle hooks, pre/post scripts, and the npm flags you use i…
pnpm cheat sheetA pnpm cheat sheet - install, add, run, frozen-lockfile, workspace filters, and the store commands that make…
Yarn cheat sheetA Yarn cheat sheet - install, add, run, workspaces, and the immutable-install flag, covering both Yarn Classi…
Testing
pytest, Jest.
Shell & scripting
bash, sed/awk, jq, curl.
Bash scripting cheat sheetA bash scripting cheat sheet - variables, parameter expansion, test conditions, loops, functions, and strict-…
curl cheat sheetA curl cheat sheet - HTTP methods, headers, JSON bodies, auth, downloads, and the flags you use for API calls…
Exit codes cheat sheetAn exit codes cheat sheet - what 0, 1, 2, 126, 127, 130, and signal-derived codes mean, and how to read $? in…
jq cheat sheetA jq cheat sheet - selectors, filters, map/select, object construction, and the flags for parsing JSON in she…
Regex cheat sheetA regex cheat sheet - metacharacters, character classes, quantifiers, anchors, groups, and lookarounds with c…
sed & awk cheat sheetA sed and awk cheat sheet - substitution, deletion, field extraction, and the one-liners that power text proc…
Signals cheat sheetA Unix signals cheat sheet - SIGTERM, SIGKILL, SIGINT, SIGHUP, default actions, and trapping signals for grac…
Build & IaC
Make, Terraform.
Config & syntax
YAML, regex, cron, semver.
Exit codes & signals
Exit codes, signals.
Explore other topics
GitHub ActionsWorkflow, runner, and YAML errors - diagnosed and fixed.
Node.js & npmnpm, yarn, and pnpm failures in CI - solved.
DockerBuild, run, compose, and registry errors - explained.
Pythonpip, poetry, venv, and pytest failures - fixed.
Java & JVMMaven, Gradle, and JVM failures in CI - resolved.
GoGo build, module, and test failures - diagnosed.