← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Git Worktree 2.5 🧠 1
Checks out multiple branches into separate working directories from one repository, avoiding stash juggling and duplicate clones.
2w ago Git intermediate
Git Rebase vs Merge 🧠 1
Merge preserves branch history with a merge commit — rebase rewrites commits onto the target branch for a linear history.
3mo ago Git intermediate
Git Blame & Archaeology 🧠 2
Using git blame, git log -S, and git bisect to trace when code was introduced, who wrote it, and which commit caused a bug — essential for debugging and context.
3mo ago Git intermediate
Git LFS
Replaces large binary files with text pointers in git — keeping repository fast while storing actual binaries on a separate LFS server.
3mo ago Git intermediate
Diagram: Git Revert vs Reset vs Restore Git Revert vs Reset vs Restore
Three different ways to undo in git — revert creates a new undo commit (safe for shared branches), reset moves HEAD (rewrites history, dangerous on shared branches), restore undoes working directory changes.
3mo ago Git intermediate
Git Submodules & Monorepo Alternatives
Git submodules embed one repo inside another — complex to manage. Composer packages, git subtrees, and monorepos are better alternatives for most PHP projects.
3mo ago Git intermediate
Diagram: Git Workflows Compared Git Workflows Compared 1.5 🧠 2
Gitflow (feature/develop/release/main branches) vs Trunk-Based Development (short-lived branches merged to main daily) — TBD is preferred for CI/CD, Gitflow for release-based software.
3mo ago Git intermediate
GitHub Actions — Reusable Workflows & Matrices 🧠 1
Advanced GitHub Actions patterns — reusable workflow files, matrix strategies for parallel testing, composite actions, and environment protection rules.
3mo ago Git intermediate
Diagram: Git Bisect Git Bisect 1.7.14 🧠 1
A binary search tool that finds the commit that introduced a bug by marking commits as good or bad — locating the culprit in O(log n) steps.
3mo ago Git intermediate
Diagram: Git Cherry-Pick Git Cherry-Pick
Applies the changes from a specific commit onto the current branch, creating a new commit with the same changes but a different hash.
3mo ago Git intermediate
Git Hooks
Scripts that run automatically at specific points in the git workflow — pre-commit for linting, pre-push for tests, commit-msg for message format enforcement.
3mo ago Git intermediate
Diagram: Git Internals Git Internals 🧠 2
Git stores all data as content-addressed objects (blobs, trees, commits, tags) in a directed acyclic graph — understanding this explains every git command's behaviour.
3mo ago Git advanced
Diagram: Git Reflog Git Reflog
A log of every position HEAD has pointed to — the safety net for recovering commits after a bad reset, rebase, or accidental branch deletion.
3mo ago Git intermediate
Diagram: Git Stash Git Stash 1.5 🧠 1
Temporarily shelves uncommitted changes so you can switch context — work in progress is saved to a stack and restored when you return.
3mo ago Git beginner
Diagram: Git Tags Git Tags 🧠 3
Named references to specific commits, used to mark release points — annotated tags include metadata and are signed; lightweight tags are just pointers.
3mo ago Git beginner
✓ schema.org compliant