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.

Mark milestons with Git tags

Mark milestons with Git tags - Visual Studio Tutorial

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

Start my 1-month free trial

Mark milestons with Git tags

- Git makes it very easy to commit your code, to save to a local or a remote repository, to branch your code and re-merge. In a real project you'll have hundreds or thousands of commits. And since there's so many commits, it's useful to be able to label certain commits as a milestone, or a version number, or a feature start, or a feature end. In Git, you use a tag to label a commit. Let's first of all, let's take a look at our history. So I'll open up Team Explorer. I'll go to Home. I'll go to Changes and then I'll go to Actions, View History. As you can imagine in a real project, I could have many pages of this commit history. And you can see here all of the commit messages. Over on the left side of the screen you can see the progress, and here's where our branch happened, and then it was merged back in. Now, there's several ways of tagging a commit. One way is to go to Team Explorer. Go to Tags. Create a…

Contents