
Explore how Azure DevOps boards, repos, and pipelines support project management, source control, and build and deployment. Clarify git as a local version control tool and distinguish it from GitHub.
Download and install Git and VS Code, configure global user name and email with git config, and set proxy settings if behind a corporate firewall.
Use dev.azure.com or dev.azure.com/[yourspacename] if you can't get to the Azure DevOps repos while signing up.
learn to clone the Patrick Videos repository to VS Code from Azure Repos using clone in VS Code or clone from URL, then open and trust the repository.
Clone the cloud repo to your local VS Code, then create and work on a new branch off main, never edit the main branch directly.
Learn how to fetch a cloud branch in VS Code using the source control panel, view available remote branches, and download and switch to work item one locally.
Learn to create a local branch from main, push it to the remote, and switch between branches like work item one and work item three in VS Code.
Create a folder and files on a branch, track changes with git, and use commit, commit and push, or commit and sync to update local and remote branches.
Commit changes to the local branch, push to the remote, and use commit and sync to fetch and pull updates before pushing.
Learn how fetch reveals remote changes and new branches in Git without pulling, then pull brings those updates into your local workspace using VS Code and Azure Repos.
Learn to discard changes in git via VS Code, removing tracked and untracked files before committing, and start fresh by discarding all or selected changes.
Learn how to stage specific changes in git to create partial commits, select files to stage using control-click, and manage staged versus unstaged changes before committing and pushing.
Learn to amend a previous commit in VS Code by staging changes, using commit amend, and optionally updating the previous message, with guidance on syncing changes and potential failures.
Learn how to enhance VS Code with the GitLens extension, see who wrote each line, and inspect file history to track changes and collaboration.
Discover how to view file history with VS Code timeline, restore a previous version using GitLens Inspect, and compare commits by selecting versions.
Learn how merge conflicts arise during pull or push, and resolve them using resolve and merge editor by choosing incoming, current, or a combination, then complete the merge and sync.
Update your branch with main by pulling the remote main into your local main, merge it into your local work branch, then push and create a pull request.
Master creating and reviewing a pull request to merge a remote branch into main, link work items, review code, and apply squash merge for a clean history.
Set up branch policies and branch security to require at least two reviewers, forbid self-approval, require linked work items, ensure comment resolution, and enforce squash merges; manage access via teams.
Discover how tags capture a point in time of code to mark releases. Clone tagged releases to fix production without changing main, while branches and ci/cd keep evolving the code.
Learn to prune and delete local branches, fetch with prune, and use a .gitignore plus git rm --cached to keep commits clean.
Learn to stash changes in source control, name stashes like type a code and type b code, and compare options by applying or popping stashes to restore chosen code.
Move your source control to the Microsoft Azure cloud. This video is the quickest and easiest way to learn to use Azure DevOps Repos with GIT and Visual Studio Code. The step by step instruction will show you how to effectively use GIT for local version control. The video starts with introducing what is Azure Repos and GIT and shows you all the steps required from creating a local project to managing it in the cloud. No prior experience required. Quick reference guide included.
Just a few hours long
This course has been designed to learn GIT and Azure DevOps in just a few hours. Even though GIT is a multi day class, the video has been edited so tight that what resulted was just a few hours. You will not see any pauses or time wasted. These have been designed like Tik-Tok videos to keep you engaged.
Reviews for my courses:
Excellent video!! Especially for a beginner like me. Wow! 'am so happy that i found your video. Keep up your good work Patrick. Ur way of narration-bringing in a steady flow throughout the tutorial. Easy to understand-line by line explanation. Excellent visual clarity - Prema, USA
You are like an angel to all your students. In a simple way you've explained us such difficult and most confusing things. I always believe that teaching is a precious gift and only some lucky people have it - Hari, Australia
Wow, amazing, awesome videos. The best for newbies like me.Thank you very much! - Dev, Nicaragua
I was searching for a nice tutorial the whole day and frankly i was losing any hope to find it but then i found your videos... U've got a real gift to explain kind of difficult things in a simple way, i mean i can't imagine a better way to explain that :) thank you very very much! God bless you! - Vaness, Russia