Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Git Tags
04-11-2018, 09:53 PM,
#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
Reply
04-11-2018, 10:13 PM,
#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
Reply
04-11-2018, 10:17 PM,
#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
Reply
04-11-2018, 10:26 PM,
#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
Reply
04-11-2018, 10:52 PM,
#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
Reply
04-13-2018, 08:48 AM,
#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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)