Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,656
Community Members
 
Community Events
165
Community Groups

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 Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

79 views 0 0
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