Git on Windows and in Visual Studio 2013 (for beginners)




Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jan 31, 2014

This is a thorough introduction of Git I made at the local .Net user group, with special attention to the new Git integration in Visual Studio 2013. Slides & notes are here: http://www.tfnico.com/presentations/g...

It's rather slow-paced (hint: YouTube offers playback speedup), so if you're looking for something in particular, skim through the TOC and skip to the relevant parts:

00:20 Intro, about me, Microsoft, Visual Studio, TFS, etc
06:40 Inventing your own version control (what is Git, kind of)
11:25 Visual Studio 2013
12:45 OK, Visual Studio demo really starts now
15:00 Looking in explorer what git repo VS created (.gitattributes, .gitignore)
17:45 Initial commit from within VS
21:35 Show diff between local changes and checked in stuff
23:00 View history, view history for single file
25:20 Installing "full" Git from within Visual Studio
28:20 Using Git from the command line
30:00 OK, for real now, git init
31:25 Git repo created from cmd-line, adding it into Visual Studio
34:00 Adding/staging files for a commit from the cmd-line
36:40 VS keeps in sync with whatever I do on the command line
38:00 cmd-line: git commit -a -m "Some message", git log
39:10 Theory: The contents of a Git repository, compressed history. The SHAs
43:50 Theory: How does distributed actually work out with multiple collaborators
47:00 Is there also a central repository even though it's distributed?
51:00 Tooling/GUIs outside Visual Studio
52:00 Hosting possibilities (for the "central" repository)
53:00 Creating a project on VisualStudio.com demo, more hosting discussion
1:00:48 Forking a project on GitHub
1:04:50 Pimping up the command line with posh-git
1:06:50 Storing username and password in credential store
1:09:14 Migrating from other version control systems
1:11:00 Q: Is there a C# API for working on Git repos?
1:12:00 Q: What is the experience on using Git in large teams/orgs?
1:13:45 Q: Can I use Stash and Branches from within VS? (branch/merge demo)
1:17:00 Q: What does commit/push/sync mean?
1:20:05 There's this thing called rebasing...
1:21:25 Q: Can you lock files? (nope)
1:22:53 Q: Can I share a Git repository via SkyDrive? (yes)
1:24:20 Q: How do you revert changes? (I explain revert, reset and rebase)
1:30:00 Lots of talk on general things around the fun of Git
1:33:00 Q: Can I create a large project history based on copies?
1:34:10 "What really made the difference for us was the branches"
1:37:00 Q: Where are some nice illustrations of branches


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...