Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Can I edit the issue ID on a git Smart Commit?

I have two JIRAs: ABC-100 and ABC-101. The codebase for ABC-100 is in git repo 1 and the code for ABC-101 is in codebase 2. When i committed the code changes on git repo 2, I entered a wrong issue id: ABC-100. As a result, the branch/commit are showing up under ABC-100. 

How can I clean it up so that the code changes on git repo 2 shows up on ABC-101.

I have edited the message on the git commit from: "ABC-100: bla bla bla" to "ABC-101: bla bla bla". 

But that does not prevent git repo 2 to show up under ABC-100.

 

Is there any solution to this issue?

1 answer

I have edited the message on the git commit from: "ABC-100: bla bla bla" to "ABC-101: bla bla bla".

Git commits are immutable. How did you change it? You've recreated a commit on a branch with a force push? Or maybe used 'git notes'? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

56 views 0 6
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