It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Apply Tag on specific commits or files

Hi Team,

We need to know, how to apply a tag on specific commits. Here is the scenario we ran into

we have 10 commits happend on branch in GIT repository, where we want to apply a tag on specific commits like 1-7 and 9th commit, exclude 8th and 10th commits. How to handle this scenario?
please provide us any documentaion/steps to follow which supports this requirement.

Regards,
Sabarinath

1 answer

A given tag in Git can only be applied to one commit.  A tag is basically just an alias for a commit ID (SHA1 hash).

 

What are you trying to accomplish by applying a tag to multiple commits?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Agile

Learn how Arizona State University is bringing agility to higher education

Hello Atlassian Community members! My name is Keri, and I work on Atlassian's Cloud Platform Product Marketing team. I wanted to bring your attention to a case study we recently did with the IT dep...

99 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you