Visual Studio: Source Control with Git and GitHub

Visual Studio: Source Control with Git and GitHub
Visual Studio: Source Control with Git and GitHub
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 18m | 319 MB

Prefer working with an IDE instead of the command line? Discover how to use Git, the defacto distributed source control tool, effectively within Visual Studio. Throughout this course, instructor Walt Ritscher delves into the mapping between Git and GitHub commands and the tools in Visual Studio. After going over key Git concepts, commands, and GUI tools, Walt shows how to initialize a new repository with PowerShell, Visual Studio, and GitHub. He then shows how to add, rename, move and delete files; add a remote repository; clone and fork a repository; and view and handle merge conflicts. Plus, see how to work with branches, create, review and compare pull requests, and more.

Topics include:

  • Initializing a repository with PowerShell and Visual Studio
  • Adding, renaming, moving, and deleting files
  • Connecting to GitHub and other remote servers
  • Cloning and forking repositories
  • Committing, pushing, and undoing changes
  • Rolling back to a prior commit
  • Viewing and handling merge conflicts
  • Setting up a public repository on GitHub
  • Creating a pull request
  • Marking milestones with Git tags
Table of Contents

Introduction
1 Use Git effectively within Visual Studio
2 Install Git
3 Install GitHub Extension in Visual Studio
4 Work with multiple users in the exercise files.

The Command Line vs. Visual Tools
5 Don’t be afraid of the GUI
6 Tour of Git GUI tools
7 Git concepts and commands

Create a Repo from a Local Computer
8 Initialize a new repository PowerShell
9 Initialize a new repository VS folder
10 Initialize a new repository VS solution
11 Initialize a new repository GitHub
12 Add files PowerShell
13 Add files VS
14 Rename files PowerShell
15 Move files PowerShell
16 Delete files PowerShell
17 File operations VS

Connect to GitHub and Other Remote Servers
18 Add a remote repository PowerShell
19 Install Git Credential Manager for Windows
20 Connect and authenticate PowerShell
21 Connect and authenticate VS
22 Create an empty GitHub repo VS
23 Sync existing local remote to GitHub
24 Examine GitHub configuration information

Git Concepts and Commands
25 Collaborate with shared repositories
26 Understand when to clone a repository
27 Understand when to fork a repository

Collaborate on an Existing Repo
28 Clone the repo PowerShell
29 Clone the repo VS
30 Fork a repo
31 Clone a forked repo

Push and Pull
32 Change the PowerShell command prompt
33 Show the Git help files from the command prompt
34 Commit to local VS
35 Push to remote VS
36 Commit and push VS
37 Undo changes
38 Show history with Git log PowerShell
39 Show history in Team Explorer
40 Compare differences VS
41 When to use revert or reset
42 Rollback to prior commit with revert
43 Rollback a local repo with reset

Sync Tools
44 Push to remote by team member
45 Pull and push
46 Use Fetch or Pull to sync with remote
47 Sync VS
48 View merge conflicts
49 Handle merge conflicts

Work with Branches
50 Explore the basic branch actions PowerShell
51 Explore the branch tools in Visual Studio
52 Basic branch actions VS
53 Commit changes to another branch
54 Merge changes into the master

Pull Requests and GitHub
55 Setup a public repository on GitHub
56 Fork and clone the repository
57 Verify forked project runs on computer
58 Change the HTML in fork
59 Commit and push to fork
60 Create the pull request
61 Review and compare the pull request
62 Have a conversation with contributors

Other Operations
63 GitHub tools
64 Mark milestons with Git tags

Next Steps
65 Next steps