Harness the Combinatoric Power of Command-Line Tools and Utilities

Git

Subscribe to RSS feed

Creating a Repository

Published October 12, 2026

Configure Git, create a repository, and make your first commit

Tracking Changes

Published October 12, 2026

See what changed with diffs, stage changes, and commit them

Reviewing History

Published October 12, 2026

Read the commit log, visit old commits, and throw away unwanted changes

Adding More Files

Published October 12, 2026

Work with files in different states and stage several files at once

Sharing Your Work

Published October 12, 2026

Push commits to a remote repository and clone it to another location

Git Basics

Published October 12, 2026

Track changes to a small website with Git, from your first commit to sharing your work

Split Changes into Multiple Commits

Published August 31, 2024 and last verified on August 13, 2026

Split a large set of file changes into focused, individual Git commits using interactive staging to keep your project history clean.

Jump to Git Repository Root

Published May 13, 2024 and last verified on August 13, 2026

Navigate to your Git repository root directory from anywhere in the project tree using a built-in Git command and a shell alias.

Throwing All Your Work Away in Git

Published January 8, 2020 and last verified on August 13, 2026

Discard unwanted changes in your Git working directory using the checkout, reset, and clean subcommands to get back to a clean state.