This repository was made while studying with Mosh Hamedani, in Code with Mosh. And it contains all my notes from the course. It can be used as an extensive Git cheatsheet.
- Getting Started
- Creating Snapshots
- Browsing History
- Branching
- Collaboration
- Rewriting History
- Introduction (0:39)
- How to Take This Course (0:51)
- What is Git (2:31)
- Using Git (3:03)
- Installing Git (1:27)
- Configuring Git (5:04)
- Getting Help (0:51)
- Cheat Sheet (0:29)
- Introduction (0:34)
- Initializing a Repository (2:32)
- Git Workflow (4:35)
- Staging Files (3:37)
- Committing Changes (2:13)
- Committing Best Practices (1:59)
- Skipping the Staging Area (1:24)
- Removing Files (2:02)
- Renaming or Moving Files (2:17)
- Ignoring Files (6:34)
- Short Status (2:52)
- Viewing Staged and Unstaged Changes (4:59)
- Visual Diff Tools (4:53)
- Viewing History (2:12)
- Viewing a Commit (3:58)
- Unstaging Files (2:50)
- Discarding Local Changes (1:48)
- Restoring a File to an Earlier Version (2:16)
- Creating Snapshots with VSCode (1:56)
- Creating Snapshots with GitKraken (3:24)
- Summary
- Exercises
- Introduction (0:48)
- Getting a Repository (0:32)
- Viewing the History (2:22)
- Filtering the History (4:54)
- Formatting the Log Output (3:25)
- Aliases (2:17)
- Viewing a Commit (2:13)
- Viewing the Changes Across Commits (1:16)
- Checking Out a Commit (3:40)
- Finding Bugs Using Bisect (4:28)
- Finding Contributors Using Shortlog (1:18)
- Viewing the History of a File (1:08)
- Restoring a Deleting File (2:08)
- Finding the Author of Line Using Blame (1:08)
- Tagging (2:41)
- Browsing History Using VSCode (4:25)
- Browsing the History Using GitKraken (5:01)
- Summary
- Exercises
- Introduction (0:42)
- What are Branches (2:38)
- Getting a Repository (0:18)
- Working with Branches (5:12)
- Comparing Branches (1:52)
- Stashing (4:04)
- Merging (3:21)
- Fast-forward Merges (6:54)
- Three-way Merges (3:16)
- Viewing Merged and Unmerged Branches (1:08)
- Merge Conflicts (5:34)
- Graphical Merge Tools (4:58)
- Aborting a Merge (0:41)
- Undoing a Faulty Merge (5:26)
- Squash Merging (5:25)
- Rebasing (8:24)
- Cherry Picking (1:54)
- Picking a File from Another Branch (1:44)
- Branching in VSCode (9:06)
- Branching in GitKraken (4:28)
- Summary
- Exercises
- Introduction (0:46)
- Workflows (3:57)
- Creating a GitHub Repository (2:47)
- Adding Collaborators (1:03)
- Cloning a Repository (2:52)
- Fetching (4:34)
- Pulling (3:47)
- Pushing (2:26)
- Storing Credentials (1:45)
- Sharing Tags (1:38)
- Releases (2:19)
- Sharing Branches (3:21)
- Collaboration Workflow (6:43)
- Pull Requests (8:20)
- Resolving Conflicts (3:28)
- Issues (2:27)
- Labels (0:48)
- Milestones (1:42)
- Contributing to Open-source Projects (3:54)
- Keeping a Forked Repository Up to Date (5:19)
- Collaboration Using VSCode (2:33)
- Collaboration Using GitKraken (3:06)
- Summary
- Exercises
- Introduction (0:47)
- Why Rewrite History (1:19)
- The Golden Rule of Rewriting History (3:47)
- Example of a Bad History (2:43)
- Undoing Commits (4:55)
- Reverting Commits (3:29)
- Recovering Lost Commits (2:36)
- Amending the Last Commit (3:38)
- Amending an Earlier Commit (5:44)
- Dropping Commits (4:28)
- Rewording Commit Messages (1:43)
- Reordering Commits (1:22)
- Squashing Commits (3:25)
- Splitting a Commit (3:21)
- Rewriting History Using GitKraken (2:08)
- Summary
- Course Wrap Up (0:27)