Dotfiles Management: Sync Your Dev Setup Across Machines
Learn to manage dotfiles with GNU Stow, chezmoi, or a bare git repo. Bootstrap any new machine in minutes with your exact config.
37 posts · page 1 of 1
Learn to manage dotfiles with GNU Stow, chezmoi, or a bare git repo. Bootstrap any new machine in minutes with your exact config.
Compare Gitflow, trunk-based, GitHub Flow, and Ship/Show/Ask. Learn which git workflow fits your team, with branch naming and PR conventions.
Master interactive rebase, autosquash, fixup commits, and rebase --onto for clean Git history. Advanced techniques for rewriting, reorganizing, and cleaning up commits.
Use git bisect to binary search through your commit history and pinpoint the exact commit that broke your code. Covers manual, automated, and advanced bisect workflows.
Automate code quality checks with Git hooks. Set up pre-commit linting, pre-push testing, commit message validation, and manage hooks with Husky across teams.
Scale Git monorepos with sparse checkout, partial clones, shallow clones, and modern tooling like Turborepo and Nx. Practical strategies for keeping large repos manageable.
Master git reflog to recover lost work after bad rebases, accidental resets, deleted branches, and dropped stashes. Your safety net for every Git disaster.
Set up GPG and SSH commit signing for Git. Verify commit authenticity, configure GitHub verified badges, and enforce signed commits across your team.
Compare git submodules and subtrees for managing shared code and nested repositories. Learn workflows, trade-offs, and when to use each approach in real projects.
Master parallel feature development with git worktrees. Run multiple branches simultaneously, handle urgent hotfixes without stashing, and optimize team workflows.
Learn how to use git bisect to perform binary search through your commit history and pinpoint the exact commit that introduced a bug in your codebase.
Build custom Git hooks that integrate with CI/CD pipelines: server-side hooks, push-based triggers, branch protection enforcement, and automated deployment gates.
Manage large Git monorepos with sparse checkout, partial clone, subtrees, CODEOWNERS, and scaling strategies that keep performance acceptable as the repo grows.
Advanced git rebase strategies for teams: interactive rebase workflows, rebase --onto, autosquash, and policies that keep shared branches clean without rewriting public history.
Learn to use git bisect to find the exact commit that introduced a bug. Covers manual bisect, automated bisect with scripts, and practical strategies.
Go beyond basic git stash. Learn partial stashing, stash branches, managing multiple stashes, and recovering dropped stashes.
Learn to use git worktrees to check out multiple branches at once without stashing or switching. Covers setup, workflows, and practical use cases.
Use git bisect to binary-search through history and pinpoint the commit that introduced a regression, with manual and automated examples.
Learn how to copy specific commits across branches with cherry-pick and how to safely undo merged changes with revert, including conflict handling and recovery.
Automate checks before commits, pushes, and merges with native git hooks and the pre-commit framework. Keep your repo clean without slowing down.
Set up Git LFS to version large binaries like images, models, and datasets without bloating your repository, including tracking, migration, and CI tips.
How to open pull requests reviewers actually enjoy: small scope, clear descriptions, good commit hygiene, useful CI, and how to handle review feedback without endless back-and-forth.
A clear, practical guide to choosing between git rebase and git merge, with safe workflows for feature branches, shared branches, and pull requests.
Use git reflog to recover lost commits, branches, and stashes after rebases, resets, and bad merges. A practical walkthrough of how Git remembers where HEAD has been.
Learn how to use git stash to safely shelve uncommitted changes, switch contexts, and recover work using push, pop, apply, and branch workflows.
Compare git submodules and subtrees for managing nested repositories, including workflows, trade-offs, and when to choose each approach in practice.
Learn lightweight vs annotated tags, signed tags, semantic versioning, and how to ship clean releases on GitHub. Practical workflow from tagging to changelog to publishing.
Use git worktree to check out multiple branches at once without cloning. Speed up code review, hotfixes, and experimentation.
Compare trunk-based development, gitflow, and GitHub flow. Learn when each strategy fits, how they affect release cadence, and which commands to actually use day to day.
A deeper look at git rebase — the mechanics, interactive rebase with squash/fixup/edit/drop, the golden rule of published branches, conflict resolution, and rerere for repeated conflicts.
Understand Git remotes, the difference between origin and upstream, fetch vs pull, the forking workflow, and how to open a pull request that is easy to review.
Learn to stash work in progress, undo commits with restore, reset, and revert, and recover lost work from the reflog — with clear warnings about which commands rewrite history.
Learn what a Git branch really is, how to create and switch branches, how to merge work back into main, and how to resolve a simple merge conflict.
An end-to-end workflow for using Git with GitHub: create a repo, set up SSH, push your code, work with branches and pull requests, and recover from common mistakes.
Install Git on Windows, macOS, or Linux, configure your identity, initialise a repository, and walk through the full life cycle of your first commit.
A clear comparison of git merge and git rebase — what each one does to history, the trade-offs, the golden rule, and a practical decision guide for beginners.
A clear, jargon-light introduction to Git — what it is, why it exists, how it differs from GitHub, and the core mental model every developer needs.