Skip to Content
Linux Shell Scripting Cookbook - Third Edition
book

Linux Shell Scripting Cookbook - Third Edition

by Clif Flynt, Sarath Lakshman, Shantanu Tushar
May 2017
Beginner
552 pages
28h 47m
English
Packt Publishing
Content preview from Linux Shell Scripting Cookbook - Third Edition

How to do it...

The TagName is whatever you want to call the branch.

Identifier is an identifier for the node to be tagged. The identifier can be one of the following:

  1. A branch name: Tag the most recent commit on this branch
  2. An SHA1 identifier: Tag the commit with this SHA1 identifier
  3. A datestamp (YYYY-MM-DD): Tag the commit just previous to this datestamp
  4. A timestamp (YYYY-MM-DD HH:MM:SS): Tag the commit just previous to this timestamp
        # Tag the current tip of the trunk as release_1.0
        $ fossil add tag release_1.0 trunk

        # Tag the last commit on December 15 as beta_release_1
        $ fossil add tag beta_release_1 2016-12-16
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

Mastering Linux Shell Scripting - Second Edition

Mastering Linux Shell Scripting - Second Edition

Mokhtar Ebrahim, Andrew Mallett

Publisher Resources

ISBN: 9781785881985