Skip to Main Content
Pragmatic Guide to Git
book

Pragmatic Guide to Git

by Travis Swicegood
November 2010
Beginner content levelBeginner
160 pages
2h 50m
English
Pragmatic Bookshelf
Content preview from Pragmatic Guide to Git
18 Tagging Milestones

You need to make milestones in your projects, each slightly different, such as for one, its weekly iterations, and for another, its version numbers. You can use git tag to handle this.

git tag creates a read-only marker within the repository. You can treat tags like branch names, except you can’t check them out and start committing to them. You can create a new branch from a tag, however.

Creating a tag requires one parameter: the name of the tag. Nearly every character you can use as part of a filename on Unix systems can be used as part of a tag name. You cannot use the characters ^, *, or :, and a tag cannot begin or end with /.

You can create a tag from a commit other than HEAD by supplying a second parameter ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pragmatic Version Control Using Git

Pragmatic Version Control Using Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss
Git for Programmers

Git for Programmers

Jesse Liberty

Publisher Resources

ISBN: 9781680500028Errata