Skip to content
Velloreth

#git

Posts tagged with “git”.

18 posts

01

Contributing to Open Source: A Practical Start

Find a project, find an issue, and get a pull request merged. Learn the etiquette, the workflow, and the mistakes that stall a contribution.

02

Conventional Commits: A Practical Guide

A commit message format that enables automation. Learn the types, the scope, the breaking change marker, and the tooling it unlocks.

03

Git Aliases and Config: Speeding Up Your Workflow

Aliases and config settings remove friction from daily Git use. Learn the useful ones and how to set them up.

04

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.

05

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.

06

Git Cherry-Pick: Copying a Commit to Another Branch

Cherry-pick applies one commit to another branch. Learn the syntax, the conflicts, the ranges, and when a merge is better.

07

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.

08

Git Hooks: Automating Checks Before Commit and Push

Hooks run scripts at points in the Git workflow. Learn the useful ones, how to share them, and why Husky exists.

09

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.

10

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.

11

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.

12

Git Submodules Explained: When and How to Use Them

A submodule is a repository inside a repository. Learn the commands, the detached HEAD, the alternatives, and the traps.

13

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.

14

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.

15

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.

16

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.

17

Git Commands for Beginners: The 12 You Actually Need

Learn the Git commands you actually use every day: init, add, commit, push, pull, branch, merge, stash and how to undo mistakes safely.

18

Dotfiles Setup: A Reproducible Dev Environment

Build a dotfiles repository you can apply to any machine in minutes — repo layout, Stow vs chezmoi vs yadm, bootstrap scripts, and keeping secrets out of git.