Mini Map
Search
⌘ K
Log In
Learn Git the Hard Way
0%
1.
Introduction
Why Learn Git the ‘Hard Way’?
How the Course Works
2.
Introduction to Git
What is Source Control?
The Four Phases of Git Content
Branches
What about GitHub?
How Git Differs from Other Version Control Systems (VCS's)
3.
Git Basics
Introduction: Git Basics
Initializing Git Repository
Looking at Repository's History
Retrieving a Repository's Status
Add Files to a Repository
Committing Changes to a Repository
Challenge: Git Basics
4.
Clone a Repository
Introduction: Clone a Repository
Cloning a Remote Repository
Accidental Deletion
Recover Your Repository
Challenge: Clone a Repository
5.
Git Branching
Introduction: Git Branching
Creating a Branch
Detached Heads
What about Tags?
Conclusion: Git Branching
Challenge: Git Branching
6.
Merging
Introduction: Merging
A Toy Merging Example
Merging Step by Step
Handling Merge Conflicts
Challenge: Merging
Assessment
Assessment #1 - Git Core
7.
Git Stash
Introduction: Git Stash
Dealing With a Scenario
Choosing Your Stash
Challenge: Git Stash
8.
Git Add Interactive
Introduction: Git Add Interactive
The Add Interactive Command
9.
Reflog
Introduction: Reflog
Lose a Commit, Get it Back
Challenge: Reflog
10.
Cherry Picking
Introduction: Cherry-Picking
A Simple Cherry-Pick
When Cherry-Picking Might Fail
Challenge: Cherry-Picking
11.
Git Rebase
Introduction: Git Rebase
Outline of a Simple Rebase
Walkthrough of a Simple Rebase
12.
Git Bisect
Introduction: Git Bisect
Bisecting: The Session at a High Level
A Real 'git bisect' Session
The Difference Between ∼ and ^
Assessment
Assessment #2 - Advanced Local Git
Project
Premium
Using Git Bisect to Identify the Source of a Bug
13.
Fetching and Pulling Content
Introduction: Fetching and Pulling Content
Two Git Repos: 'git_origin' and 'git_cloned'
The 'git fetch' Command
14.
Working With Multiple Repositories
Introduction: Working With Multiple Repositories
Three-Linked Repositories
Challenge: Working With Multiple Repositories
15.
Pushing Code
Introduction: Pushing Code
Creating and Pushing Branches
Pushing to Repositories With Different Content
The Branch Exists Only On The Remote
Tracking Remote Branches With Different Names
16.
Git Submodules
Introduction: Git Submodules
A Worked Example
The 'git submodule' Command
Git Tracks the Submodule’s State
Cloning a Project With Submodules
17.
Pull Requests
What Are Pull Requests?
Forking And Branching in GitHub
Assessment
Assessment #3 - Remote Repository Management
18.
Git Log
Introduction: Git Log
A Realistic Log History
The 'git log' Command
19.
Squashing Commits
Introduction: Squashing Commits
A Worked Example
The 'git rebase -i' Command
20.
Bare Repositories
Introduction: Bare Repositories
Setting up a Bare Repository
Squashes the Commits
Git Pull and Merge Hell
21.
Cherry-Picking and Three-Way Merges
Introduction: Cherry-Picking and Three-Way Merges
Attempting to Apply Cherry-Pick
Generate and Apply Patch
22.
Git Hooks
Introduction: Git Hooks
A ‘pre-commit’ Hook
A More Sophisticated Example
Additional Information on Hooks
Assessment
Assessment #4 - Advanced Git
23.
Finished
What You Have Learned
Home
Courses
Learn Git the Hard Way
Introduction: Git Basics
Dive into the basics of Git.
We'll cover the following...
This chapter covers the following basics of Git:
git
...