Table of Contents
Preface
Part 1 - Exploring Project History and Managing Your Own Work
1
Git Basics in Practice
Technical requirements
A brief introduction to version control and Git
Git by example
Setup and initialization
Collaborative development
Branching and merging
Summary
Questions
Answers
Further reading
2
Developing with Git
Creating a new commit
How a new commit extends a project’s history
The index — a staging area for commits
Examining the changes to be committed
Selective commit
Amending a commit
Working with branches and tags
Creating a new branch
Creating orphan branches
Selecting and switching to a branch
Listing branches and tags
Rewinding or resetting a branch
Deleting a branch
Changing the branch name
Summary
Questions
Answers ...
Get Mastering Git - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.