Questions tagged [git-tag]

git-tag is the Git command used to create, list, delete or verify a tag object signed with GPG. A tag is used to mark specific points in history as being important.

543 questions
0
votes
1 answer

Are the commit IDs of submodules kept in a git tag?

The impetus behind this is to manage both the source and wiki repositories of GitHub and be able to git tag the state of the entire project for releases. If there is an easier way to go about this, I'm all ears in the comments :) I need to be able…
Sean Allred
  • 3,558
  • 3
  • 32
  • 71
0
votes
0 answers

Git signing tags and log

I have have several signed tags on my repository. When I use: $git show tag_name the pgp signature appears, between all information on the tag. However if I use: git log --pretty="format:%H %G?" the option %G? displays always N, as if none of the…
fa__
  • 267
  • 5
  • 17
0
votes
1 answer

Duplicated tag on remote?

I made two local tags, 1.0.0.1308 and 1.0.1.1308: $ git show-ref 2cc0513083619934459832c175b433ee1ecfedf9 refs/heads/master 2cc0513083619934459832c175b433ee1ecfedf9 refs/remotes/origin/HEAD 2cc0513083619934459832c175b433ee1ecfedf9…
talles
  • 14,356
  • 8
  • 45
  • 58
0
votes
3 answers

Lost tags in git

I am facing a problem with git tags when using the maven release-plugin. We have turned off the automatic push to git during mvn release:perform, and the following is done to build a new release: Pull the latest changes from remote git repo. mvn…
Tobb
  • 11,850
  • 6
  • 52
  • 77
0
votes
1 answer

Is there a way to get a tag from a specific commit in git?

How do I get the git tag(s) on a specific git commit SHA?
joseph.hainline
  • 24,829
  • 18
  • 53
  • 70
0
votes
1 answer

How to checkout a tag from different remote branch

I have a branch containing production configurations (called prod-conf for now) which follows a remote branch (feature-name-branch). When pulling from remote to perform an update would it be correct to run the following command ? git pull origin…
cyberjar09
  • 770
  • 1
  • 7
  • 18
0
votes
1 answer

Can I push a tag to current pushed git?

Is it possible to push a tag to currently pushed file in github? I have searched through Google but no clue at all. Thanks!
Rendy
  • 5,572
  • 15
  • 52
  • 95
0
votes
1 answer

Doing Hot Fixes on Heroku with Git Tags

Hoping somebody can point me in the right direction here. I want to better understand how my application is deploying a tag to Heroku and how I can take advantage of that to use a combination of tags/branches to make hot fixes to production. I have…
Ben Scheib
  • 392
  • 1
  • 3
  • 16
0
votes
2 answers

Can I check out/create a tag with certain commits left out?

I want to create a tag that leaves out certain commits. So when creating the tag, I choose which commits to add (or which to omit). This would enable me to deploy a hot fix and leave out older (and newer) commits. The same could be achieved by using…
Rudie
  • 52,220
  • 42
  • 131
  • 173
-1
votes
1 answer

How can I run a pipeline automatically, taking a value from the context, or manually with a default value?

I have a CI that runs when a tag is created, but I would like to be able to run it manually as well. Unfortunately, the CI uses the tag name to set the name of the artifact. I tried this: stages: - build workflow: rules: - if:…
SteeveDroz
  • 6,006
  • 6
  • 33
  • 65
-1
votes
1 answer

Git checkout branch from tag: got different code from that in github

Git checkout branch from tag: got different code from that in github. git clone https://github.com/eclipse-ee4j/mojarra git checkout -b mybranch…
eastwater
  • 4,624
  • 9
  • 49
  • 118
-1
votes
1 answer

Checking out a git tag actually does another

It seems odd to me this behavior, I have a git tag, lets say tag-a, when I checked it out by running the following: git checkout tag-a it checks out tag-b user@server xxx ~/path/git-local-folder ((tag-b)) I would guess there is some sort of…
AmandaSai98b
  • 485
  • 1
  • 7
  • 17
-1
votes
2 answers

git tags and time

I was under the impression that a tag would act like a commit in that if I have a clone based on an old commit, I wouldn't expect to see new tags listed in the git tag output. However, this assumption is evidently wrong. It kinds wrecks the way I…
user561638
  • 1,299
  • 3
  • 15
  • 26
-1
votes
1 answer

Add git tags based on commit time

Is there any way to tag a git repository based on the commit time? For example, if I have the release time, I want to tag all the repositories used in the release as of the release time. The main issue is that tagging may happen retroactively a few…
Arun P Johny
  • 384,651
  • 66
  • 527
  • 531
-1
votes
1 answer

Git tagging: Time-based or Commit-based

When I create a tag (either lightweight or annotated) and provide no commit id, does Git record the tag as "a point in time" when the tag was created? Or does it tag the latest commit in my branch and the "time" associated with that tag is the time…
Randy
  • 908
  • 12
  • 30
1 2 3
36
37