git-tag Questions
4
I want to achieve the following:
Anyone in the dev team creates a tag i.e. Demo_Build_1 to dev branch.
TeamCity should be able to detect this new tag and build only this tag.
I have enabled "...
4
Solved
So far I have:
git rev-parse <tagname> | xargs git cat-file -p
but this isn't the easiest thing to parse. I was hoping for something similar to git-log's --pretty option so I could grab just...
31
Solved
How can I delete a Git tag that has already been pushed?
6
Solved
Currently on my GitHub repository, I have the following workflow that releases a nightly snapshot every day, and uses the current date as release name and tag name:
name: Nightly Snapshot
on:
sc...
Snowflake asked 1/4, 2020 at 4:32
4
I usually run:
git push
git tag v4.7
git push --tags
Both the first and third operations connect to the server, which wastes time.
I want to make it faster by pushing only once. What command(s) wo...
12
Today I was looking through the logs for a project and realized that I fat fingered a tag name some time ago. Is there some way to rename the tag? Google hasn't turned up anything useful.
I realiz...
12
Today I was looking through the logs for a project and realized that I fat fingered a tag name some time ago. Is there some way to rename the tag? Google hasn't turned up anything useful.
I realiz...
12
Today I was looking through the logs for a project and realized that I fat fingered a tag name some time ago. Is there some way to rename the tag? Google hasn't turned up anything useful.
I realiz...
12
Today I was looking through the logs for a project and realized that I fat fingered a tag name some time ago. Is there some way to rename the tag? Google hasn't turned up anything useful.
I realiz...
6
Solved
I'm using Git BASH in windows 7 and I try to create a tag:
git tag -a v2.44.13 -m "[before prod] bla bla bla"
and fails with:
$'\226git': command not found
Same command works with Git CMD. Wh...
9
Solved
I'm currently working with a repository that has multiple branches.
When I create a tag, does that tag refer to the then-current branch?
In other words: Whenever I create a tag, do I need to swit...
26
Solved
What's the simplest way to get the most recent tag in Git?
git tag a HEAD
git tag b HEAD^^
git tag c HEAD^
git tag
output:
a
b
c
Should I write a script to get each tag's datetime and compare...
Ditty asked 10/9, 2009 at 11:43
10
Solved
I'd like to create a new master branch from an existing tag. Say I have a tag v1.0. How to create a new branch from this tag?
Increment asked 7/6, 2012 at 22:55
4
Solved
I'm getting my feet wet with git tagging, but my previous background is in Subversion, where "tags" were really just copies, not "real" tags...
If I add a tag to a git repo, is it applied to all b...
D asked 6/8, 2013 at 18:49
15
Solved
I am having some difficulty understanding how to use tags versus branches in git.
I just moved the current version of our code from cvs to git, and now I'm going to be working on a subset of that ...
Incredulous asked 21/9, 2009 at 21:55
7
Solved
How to list git tags in chronological order? (recent tags first)
git tag only displays alphabetical order.
4
I’m working on a project and I wanted to tag or give a version number. I wanted gitlab to tag V 1.0, 1.1, etc. in my gitci.yml file when the merging happens and my CI/CD runs successfully.
Quotidian asked 28/8, 2020 at 12:23
2
I want to read version from a file and create tag as v11.0.5.1.aws using the workflow . Then I want to use that tag in the docker image.
For that, I have created a branch as devops.
First created a...
Scrophulariaceous asked 21/4, 2022 at 10:16
20
Solved
I want to delete all the tags from a Git repository. How can I do that?
Using git tag -d tagname delete the tag tagname locally, and using git push --tags I update the tags on the git provider.
I...
5
Solved
I want to list all of the lightweight tags in my repository; the best I can think of involves combining git for-each-ref, grep, and cut, but it seems like it'll be kind of fiddly...
(While we're a...
4
Solved
since Github Releases are actually a Git Tags, I want to auto-upgrade my package.json version when there is a new Release (and tag), with Github Action.
I know I need to trigger a job on: release,...
Sheepdip asked 13/12, 2019 at 9:9
13
Solved
I created a tag on the master branch called v0.1 like this:
git tag -a v0.1
But then I realized there were still some changes I needed to merge into master for release 0.1, so I did that. But no...
3
Solved
How can I list all tags, reachable from a given commit?
For all branches, it is git branch --all --merged <commit>.
For most recent tag, it is git describe.
Man page git-tag suggests git ta...
10
Solved
I want git to list all tags along with the full annotation or commit message. Something like this is close:
git tag -n5
This does exactly what I want except that it will only show up to the firs...
10
Solved
I want git to list all tags along with the full annotation or commit message. Something like this is close:
git tag -n5
This does exactly what I want except that it will only show up to the firs...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.