Tagging in Git is really easy. Tags are called tags.…To create a tag, we'll say git tag, add the tag, v1, and then we'll add a message to indicate…what it is we want, like Label version 1.…Now to see the tags in your repository, it's as simple as saying git tag.…To see what's in a specific tag, you can just type git show and the tag, and here we can…see that the tag is shown, and it specifically shows up here at the top that I made the tag…and when I did and exactly what is in there and what the various differences are between…that tag and what's in my working set.…
Now, if I want to go back to that tag at a later date, for example, in order to fix the…bug, I can say, git checkout v1, and if I want to get back to the HEAD, I can say git checkout HEAD.…Because branching is very easy in Git, you want to do a checkout to your tag and then…do a branch there to allow you to make sure your changes are independent of whatever changes…you were actually doing at the HEAD.…So for example, if you had to come back to version 1 three months from now, you'll do…
Author
Released
11/7/2012- Comparing centralized vs. distributed systems
- Saving changes and tracking history
- Using revert or rollback
- Working with the GUI tools
- Using IDE and shell integration
- Installing different systems
- Creating a repository
- Tagging code
- Branching and merging code
- Selecting a software version control system that's right for you
Skill Level Beginner
Duration
Views
-
Introduction
-
Welcome53s
-
-
1. Overview of Software Version Control
-
Demo one: Getting started11m 1s
-
2. Background of Software Version Control
-
Terminology4m 27s
-
3. Version Control Concepts
-
Reverting to a prior version1m 42s
-
Creating tags and labels1m 5s
-
Branching and merging4m 10s
-
Examining shell integration3m 26s
-
4. Subversion
-
Installation and setup3m 31s
-
Tagging1m 34s
-
Branching and merging5m 32s
-
-
5. Perforce
-
Tagging1m 7s
-
Branching and merging4m 37s
-
6. Microsoft Team Foundation Server (TFS)
-
Installation and setup3m 47s
-
Tracking history and tagging2m 15s
-
Branching and merging5m 53s
-
-
7. Git
-
Installation and setup3m 1s
-
Tagging2m 13s
-
Branching and merging3m 44s
-
-
8. Mercurial
-
Installation and setup1m 48s
-
Tagging1m 50s
-
Branching and merging4m 29s
-
-
Conclusion
-
Next steps1m 8s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Tagging