-
Welcome And Getting Your Machine Set Up
17 Lessons-
PreviewWelcome to GIT: From Beginner to Fearless!
-
PreviewWhat this course is NOT going to do
-
PreviewSpecific information about what we'll do in the rest of this introduction
-
PreviewGet Visual Studio Code on your machine
-
Preview(Optional) Get Windows Terminal
-
PreviewGet GIT on your Windows machine - part 1 - Installing GIT
-
PreviewGet GIT on your Windows machine - part 2 - Validate GIT
-
PreviewGet Set up with GIT on your local machine [Linux]
-
PreviewGet set up with GIT on your local machine [Mac]
-
PreviewMaking Sure VS Code is the default editor tool for GIT
-
PreviewActivity: Ensure VSCode is Your Default Editor for GIT
-
PreviewUsing [git config] to set user credentials [user.name] and [user.email]
-
PreviewActivity: Setting GIT Credentials
-
PreviewUpdating your version of GIT from the command line
-
StartHow to get the most out of this course
-
Start[OPTIONAL] Git Viz [Requires Visual Studio and the .net framework]
-
PreviewVisualizing GIT with D3
-
-
Very Basic GIT Information - A short lecture series on How GIT works
4 Lessons-
PreviewLets Talk about GIT - Slide Deck
-
PreviewLets Talk about GIT - Part 1 - Introduction to Source Control, Local and Remote repositories
-
PreviewLets Talk about GIT - Part 2 - Working Directory, Staging to Index, Committing, Push and Pull
-
PreviewLets Talk about GIT - Part 3 - Remote Tracking Branches and How GIT works, leaving fear behind
-
-
Introduction and Getting Started Working with GIT for Local and Remote Repositories
17 Lessons-
StartIntroduction and Getting started
-
PreviewGet an account at GitHub [if you don't already have one]
-
PreviewCreate a new repository [public or private] at GitHub
-
PreviewActivity: Create a New Repository at GitHub
-
PreviewCloning an existing repository to your local machine
-
PreviewActivity: Clone an Existing Repository to Your Local Machine
-
PreviewMake changes and save them locally, then make sure they go to the GitHub repository [git add], [git commit], [git push]
-
PreviewActivity: Change Files, Add to Staging, Commit to Local, Then Push to GitHub
-
PreviewPull some changes from the repository [git pull]
-
PreviewActivity: Pull Changes from the GitHub Repository to Your Local Repository
-
PreviewCreate a new local repository [git init], [git add], [git commit], [git remote]
-
PreviewActivity: Create a New Local Repository
-
PreviewCreate a Remote Repository at GitHub and Add the Remote Tracking Upstream [git remote]
-
PreviewActivity: Get a Local Repository To Track a Remote `origin` for Pushing Changes to GitHub
-
PreviewAdd an existing project to a repository
-
PreviewActivity: Add an Existing Project to your GitHub Repository
-
PreviewForking an existing Repository - another way to start your own repo, but with existing code that you don't control
-
-
Check the State of the Local Repository and Keep Files and Folders From Being Added To the Repository
10 Lessons-
StartGit status command: [git status] part 1
-
StartGit status command: [git status] part 2
-
StartGit status command: [git status] part 3
-
StartActivity: What is the State of my Repository?: An Activity Using [`git status`], [`git log`], [`git show`], and [`git diff`]
-
StartGit Ignore command [git ignore] part 1
-
StartGit Ignore command [git ignore] part 2
-
StartGit Ignore command [git ignore] part 3
-
StartGit Ignore command [git ignore] part 4
-
StartActivity: Keeping files out of the repo and including others with the .gitIgnore file
-
StartComing Soon: [Conquered Fear]: I Accidentally Tracked a Bunch of Files and Now I Want Them Out of my Repository. What Do I Do?
-
-
Basic GIT Operations: A General Flow for a Single Developer [and a Review of Some of the Major Concepts We've Covered So Far]
7 Lessons-
StartA Single Developer Flow: General Thoughts and Flow
-
Start[Conquered Fear] No More Fear of Losing Work
-
Start[Review] Staging Changes with the Git Add Command [`git add`]
-
Start[Review] Committing Your Changes With the GIT Commit Command [`git commit`]
-
Start[Review] Push Your Changes to the Remote Repository Using the GIT Push Command: [`git push`]
-
Start[Review] Get changes from the repository using the Git pull command: [git pull]
-
Start[Review] Viewing your Git commit history using the Git log command: [git log] and [git show]
-
-
2017 ORIGINAL, will be removed after updates: Branching - and an Advanced Single-Developer Flow and prep for multi-developer flow using Local and Remote branches
14 Lessons-
StartIntroduction to Branching
-
StartAlways remember to git pull when starting a new workflow!
-
StartCreate a local branch
-
StartMake changes, add, commit, switch branches, see that things are different across branches
-
StartIntroduction to merging
-
StartCheckout master, merge feature branches, and push to GitHub
-
StartCreate a local branch and publish to GitHub - so that I can have pull requests/merging handled at GitHub, not locally
-
StartCreating your first individual development branch at GitHub
-
StartFetch And Checkout Local version tracking to Remote Branch that was created at GitHub
-
StartQuick Review: Make your changes, add, commit your changes locally
-
StartPush to your branch at GitHub
-
StartCreate a pull request at GitHub
-
StartMerge the Pull Request at GitHub
-
StartFetch and Pull changes from Remote [GitHub] to local after the pull request is completed to continue working
-
-
2024: Coming Soon: Branching: Using Feature Branches for Your Work [Single Developer or Multiple Developers With `NO` Conflicts]
8 Lessons-
StartGet the project [Movie Listings Web v2.0] (***download link is under the video***)
-
StartComing soon: Always Remember to [`git pull`] `main` Before Starting a New Local Branch
-
StartComing Soon: Create a New Local Branch [`git checkout`] and [`git switch`]
-
StartComing Soon: Activity: Use [git checkout] and [git switch] to create local branches
-
StartComing Soon: Make Changes, then run commands: `git add`, `git commit`, and `git switch main`. Is your work lost?
-
StartComing Soon: Push Your Changes to the Remote Repository: Requires Setting the Remote Upstream Tracking Branch
-
StartComing Soon: Activity: Use a Feature Branch for Development
-
StartComing Soon: Create a New Remote Branch at GitHub, and Then Pull the Branch to Your Local Repository [Alternative to Creating a Branch Locally First]
-
-
2024: Coming Soon: Merging [Single Developer or Multiple Developer With `NO` Conflicts]
5 Lessons-
StartComing Soon: Either Continue With the Project From the Last Section, or Get the Project (and Get it Into GitHub) [Movie Listings Web v2.0] (***download link is under the video***)
-
StartComing Soon: Introduction to Merging
-
StartComing Soon: Create a pull request at GitHub
-
StartComing Soon: Update your Local repository after merging
-
StartComing Soon: Activity: Create Changes, Commit, Push, Then Create and Merge a Pull Request
-
-
Rebasing [creating a linear commit history] - an alternative to "merge"
5 Lessons-
StartComing Soon: Either Continue With the Project From the Last Section, or Get the Project (and Get it Into GitHub) [Movie Listings Web v2.0] (***download link is under the video***)
-
StartComing Soon: Introduction to Rebasing
-
StartComing soon: Rebase Locally Before Pushing to GitHub to Get Latest Updates [`git rebase origin/main`]
-
StartComing Soon: Problem After Rebase: `'n' and 'm' Commits`. Use [`git push --force-with-lease`] to Push Your Rebased Branch to GitHub
-
StartComing Soon: Activity: Using a Linear Commit Strategy By Utilizing Rebasing
-
-
Cleaning Up Branches at Remote and Local
6 Lessons-
StartDelete a Branch From Your Local Repository
-
StartDelete a Branch at GitHub [remote] From Your Machine Using Git Bash
-
StartDelete a branch with force delete -D
-
StartDelete And Restore Branches at GitHub
-
StartUse the Git Prune command to Clean Up Local Remote References That No Longer Exist [`git pull --prune`] or [`git fetch --prune`] or [`git fetch && git pull --prune`]
-
StartComing Soon: Activity: Clean Up Your Local And Remote Branches
-
-
Intermediate GIT Operations: A simple multi-developer flow with Merge Conflicts
15 Lessons-
StartPresentation: Multiple Developer Flow
-
StartCreate A GitHub Organization For Your Team
-
StartSetting up Teams, Projects, account privileges, and Creating and Transferring Repos to the Team
-
StartGetting our team repo setup on Local from DefaultWeb to Ultimate Default Web, and pushing out to our TEAM REMOTE repository
-
Start[Review] Create your feature branch at GitHub
-
Start[Review] Get your LOCAL repo in sync with master using git fetch and git pull, then checkout your branch. Review branches with git branch
-
Start[Review] Make changes, commit to your branch, do not push out to GitHub yet.
-
StartSIMULATE a multiple developer by making a change at GitHub [new branch, quick change, pull request, merge]
-
StartFetch and pull master. Review our first conflict when trying to merge your change into the master branch locally.
-
StartPush, Pull Request, and merge your changes into master at GitHub after successfully resolving the merge commit locally
-
StartSetting and using a merge tool to resolve merge conflicts [with VSCode or p4Merge]
-
StartCreate another conflict from dev 2 and dev 1
-
StartSync Up Master on Local again to avoid merge conflict at GitHub
-
StartSolve the merge conflict with our default merge tool, then push and commit via pull request at GitHub
-
StartCreate another conflict between dev 1 and 2 changes, Resolve at GitHub while creating the Pull Request
-
-
Advanced GIT commands
32 Lessons-
StartActivity: Amending Commits
-
StartAmending a previous commit - changing the commit message [git commit --amend -m "new message"]
-
StartAmending a previous commit: Adding a file to a previous commit [git commit --amend]
-
StartActivity: Exploring the Reflog
-
Start[git reflog] Part 1
-
Start[git reflog] Part 2
-
StartActivity: Squash and Merge at GitHub
-
StartSquash and Merge at GitHub - Part 1
-
StartSquash and Merge at GitHub - Part 2
-
StartSquash and Merge at GitHub - Part 3
-
StartActivity: Using Aliases
-
StartUsing Aliases
-
StartAlways Prune on Fetch
-
StartActivity: Reset and Clean [git reset] [git clean]
-
StartPerforming a soft reset [git reset]
-
StartHard Reset and clean on current commit [git reset --hard && git clean <options>]
-
StartHard Reset on a previous commit - merge into master - quick 'bug fix'
-
StartActivity: Reverting one or more commits
-
StartGit revert command [git revert]
-
StartIntroduction to Rebasing
-
StartGit rebase Activity 1 [git rebase]
-
StartGit rebase Activity 2 [git rebase]
-
StartGit rebase Activity 3 [git rebase]
-
StartActivity: Cherry Picking
-
StartCherry Picking [git cherry-pick]
-
StartActivity: Stashing Changes
-
StartGit stash command, part 1: [git stash]
-
StartGit stash command, part 2: [git stash]
-
StartCreate a branch locally an push to remote [git push -u origin <branch-name>]
-
StartReal Life Activity 01 - I committed to my local master, how do I fix this without losing my changes
-
StartReal Life Activity 02: I commited to local master and pushed to remote master without thinking - how do I fix this?
-
StartReal Life Activity 03 - Remove developer commits from remote master and keep consecutive commits in history.
-
-
BAD CODE [DO NOT CLICK ON THESE!]
6 Lessons-
PreviewActivity: Ensure VSCode is your default editor for GIT
-
PreviewActivity: Setting GIT Credentials
-
PreviewActivity: Create a new repository at GitHub
-
PreviewActivity: Clone an existing repository to your local machine
-
PreviewActivity: Change files, add to staging, commit to local, then push to GitHub
-
PreviewActivity: Pull changes from the GitHub repository to your local repository
-