Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Git Tags
04-11-2018, 09:53 PM
Post: #1
Git Tags
I am working on a new changelog, in markdown format.
I have been experimenting with git log, for quickly generating change notes in tabular markdown format, which can then be manually appended to the changelog.
The beginnings of the new changelog can be found here.

When running git log, I limit the 'timeframe' to particular commits, but it is necessary to know the commit references before doing this.
It would be more convenient if I could run the git log query between/since a release tag.

I have successfully pushed a tag to the 4.14.1 release commit on my fork. It it appears to be fine.

Does anyone have any experience with using git tags? Are there any downside to their use, or any watch-outs?

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
04-11-2018, 10:13 PM
Post: #2
RE: Git Tags
I created a tag on my repository to mark the point at which we agreed subversion ended.
In my limited experience they are fine to use for exactly the purpose you propose.
Have you read the official git book? It is free to download and very good
Visit this user's website Find all posts by this user
Quote this message in a reply
04-11-2018, 10:17 PM
Post: #3
RE: Git Tags
Thanks Tim.
I've read a few of the chapters on the git-scm website, but I should download a complete copy.

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
04-11-2018, 10:26 PM
Post: #4
RE: Git Tags
Github actually sometimes calls tags releases in their interface so I would definitely say you were on the right tracks.

One gotcha that I remember us that tags don't get pushed when you push to a remote such as Github you have to explicitly push them. I think from memory the command is
git push origin tags
But don't rely on my memory Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
04-11-2018, 10:52 PM
Post: #5
RE: Git Tags
Quote:Github actually sometimes calls tags releases in their interface

Yes, I noticed this. It's a little confusing. Pushing a tag seems to create a release, so I'd be reluctant to push a tag which didn't refer to a release commit. Some discussion on this subject here.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
04-13-2018, 08:48 AM
Post: #6
RE: Git Tags
I have identified commits associated with many of the previous releases.
There were some releases for which I couldn't find any trace of a commit.
Please see attachment.
I propose to push tags to each of these.

Andy.


.htm  Releases.htm (Size: 9.66 KB / Downloads: 1)

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)