Git Workbook

1 min read Original article ↗

About This Workbook

Get Some Tools

Configure Git

Make A Repository

What’s Happening? Ask Git Status

Keep Your Changes Under (Source) Control

Study Your History with Git Log

Inspect Your Changes with Git Diff

Unstage An Added File

Fix An Incorrect Commit Message

Branch To Create A Safe Working Area

Apply a Branch of Changes with Git Merge

What’s The Story? Ask Git Log

Git’s Staging Area

Get The Right Commit On The Right Branch

Spot The Difference: More Git Diff

Power Diff with DiffTool

Handle Interruptions with Git Stash

Cherry-Pick Changes From Another Branch

Git Revert

UnMerge Changes

I Lost My Work: Git Reflog to the Rescue

Handling Conflicts - in Git and in Teams

Merge Types

Create A Fast-Forward Merge For A Clean History

Rewrite History With Rebase Interactive

Get Started With GitHub

Understand Multiple Remotes

Use Tracking Branches for Easy Collaboration

Pull With Rebase When Your Branch Is Out Of Date

Git Hooks

Projects Within Projects: Git Submodule

Git Bisect for Fault Finding in a Forest of Commits

Quiz Answers

Credits