Getting Started
Setting up a repository
git init
git clone
git config
Saving changes
git add
git commit
Inspecting a repository
git status
git log
Viewing old commits
Undoing Changes
git checkout
git revert
git reset
git clean
Rewriting history
git commit --amend
git rebase
git rebase -i
git reflog
Collaborating
Syncing
git remote
git fetch
git pull
git push
Making a Pull Request
How it works
Example
Where to go from here
Using Branches
git branch
git checkout
git merge
Comparing Workflows
Centralized Workflow
Feature Branch Workflow
Gitflow Workflow
Forking Workflow
Migrating to Git
Migrate to Git from SVN
Prepare
Convert
Synchronize
Share
Migrate
Advanced Tips
Advanced Git Tutorials
Merging vs. Rebasing
Conceptual Overview
The Golden Rule of Rebasing
Workflow Walkthrough
Summary
Reset, Checkout, and Revert
Commit-level Operation
File-level Operations
Summary
Advanced Git log
Formatting Log Output
Filtering the Commit History
Summary
Git Hooks
Conceptual Overview
Local Hooks
Server-side Hooks
Summary
Refs and the Reflog
Hashes
Refs
Packed Refs
Special Refs
Refspecs
Relative Refs
The Reflog
Summary
Home
Tutorials
Getting Started
Setting up a repository
Saving changes
Inspecting a repository
Viewing old commits
Undoing Changes
Rewriting history
Collaborating
Syncing
Making a Pull Request
Using Branches
Comparing Workflows
Migrating to Git
Migrate to Git from SVN
Prepare
Convert
Synchronize
Share
Migrate
Advanced Tips
Advanced Git Tutorials
Merging vs. Rebasing
Reset, Checkout, and Revert
Advanced Git log
Git Hooks
Refs and the Reflog
Tutorials
Articles
Glossary
tutorials
Search
Become
a git guru.
Hero
Created with Sketch.
Getting Started
Setting up a repository
Saving changes
Inspecting a repository
Viewing old commits
Undoing Changes
Rewriting history
Collaborating
Syncing
Making a Pull Request
Using Branches
Comparing Workflows
Migrating to Git
Migrate to Git from SVN
Prepare
Convert
Synchronize
Share
Migrate
Advanced Tips
Advanced Git Tutorials
Merging vs. Rebasing
Reset, Checkout, and Revert
Advanced Git log
Git Hooks
Refs and the Reflog