Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Apply Tag on specific commits or files

Sabarinath Chowdary
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2015

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

0 votes
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2015

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
TAGS
AUG Leaders

Atlassian Community Events