siteincredible.blogg.se

Git tag history
Git tag history












git tag history

The tagger name is also separated by white spacesĪnother thing is that the the output separation can currently not be done via whitespace as the tagger name can have multiple words separated by spaces itself.Prettifyīefore we can start to apply our command line-fu on the above output, we will set a clear goal:įor the vertical alignment there are also a few problems that might arise: We now have some more information, but it is not very cleary arranged. V1.51 1438592208 +0200 FirstName LastName Release v1.51 Tags allow Git users to, as the name itself suggests, tag particular points in the Git repository history and answer to them later.

#Git tag history full#

For a full list of all possible values, have a look at man git-for-each-ref.įor now, we are using: the tag name, the tagging date, the name of the tagger and the tag message: git for-each-ref -sort=taggerdate -format '%(tag) %(taggerdate:raw) %(taggername) %(subject)' refs/tags Verbose OutputĪs you have probably guessed it already, the parameter –format is responsible to extend the information. The most simple form to sort tags by date is shown below: git for-each-ref -sort=taggerdate -format '%(tag)'īut you could also display some more information instead of just the tag itself.














Git tag history