Photo by PJH on Unsplash

Article

Everyday Git commands

Configure identity, create commits, inspect history, manage branches, and ignore build artifacts—the commands you use on most working days. Assumes you know how Git's working tree, index, and repository fit together.

Article

Working with remotes

Clone a repository, add a remote, fetch and push commits, and set upstream tracking branches—the mechanics of sharing history with GitHub or any Git server, plus pitfalls when pulling or force-pushing with teammates.

Article

Undoing and moving changes

Stash work in progress, amend the last commit, reset or restore files, revert published history safely, undo merges, and cherry-pick fixes onto other branches—without guessing which Git area each command touches.

Tags

Search articles

Type a word to search published articles.

Open the search page