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

This widget could not be displayed.

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 Monday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

39 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you