Skip to content
Velloreth

#version control

Posts tagged with “version control”.

11 posts

01

Git Bisect: Finding the Commit That Broke It

Bisect does a binary search through history to find the commit that introduced a bug. Learn the workflow and how to automate it.

02

Git Branching Strategies Compared

Trunk-based, Git Flow, and GitHub Flow each suit different teams. Learn how they work, the trade-offs, and how to choose one.

03

How to Write Good Git Commit Messages

A commit message is documentation for the future. Learn the conventions, the structure, and the habits that make history useful.

04

Handling Large Files in Git: LFS and Alternatives

Git is bad at large binaries. Learn why, how Git LFS works, and how to clean a repository that already has them.

05

Git Merge vs Rebase: When to Use Each

Merge preserves history, rebase rewrites it. Learn the difference, the golden rule, and how to choose for your workflow.

06

Git Stash: Saving Work Without Committing

Stash shelves uncommitted changes so you can switch context. Learn the commands, the pitfalls, and when a commit is better.

07

Git Submodules vs Subtrees: Sharing Code Between Repos

Submodules and subtrees both embed one repository in another. Learn how each works and which to choose.

08

How to Undo Almost Anything in Git

Reset, revert, restore, and reflog. Learn which command undoes which situation, and how to recover from a mistake safely.

09

Git Worktrees: Working on Two Branches at Once

Worktrees let you check out multiple branches in separate directories from one repository. Learn when they beat stashing.

10

Gitignore Patterns: How to Ignore the Right Files

A .gitignore is a set of patterns, and the rules are subtle. Learn the syntax, the precedence, and the mistakes to avoid.

11

Monorepo vs Multirepo: Choosing a Repository Layout

One repository or many? Learn the trade-offs, the tooling each layout needs, and the signals that point to the right choice.