From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Git concepts and commands

Git concepts and commands - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Git concepts and commands

- [Instructor] Git commands are the core way to interact with repositories. While I prefer using the Visual Studio interface for most of my daily Git actions, it is useful to know the basics of each Git command. As we proceed through the course, the examples often show the Git command, then show the equivalent action in Visual Studio. There are over 20 commands available in Git. You can see a partial list at the command line by running Git with no parameters. We'll take a quick tour of the most important of these commands in this video. Use git init to create an empty repository. This action is typically performed once at the beginning of a project. Use clone to copy an existing repository into a new directory. When a repository is cloned to the developer computer, it is known at the local repository. Git remote is the primary way we work with multiple devices or collaborate with other programmers. The clone operation…

Contents