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

How can delete or unify a red and blue branches?

Elena Festi
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 22, 2020


i made a mistake. I made a commit (- init repository) but, as you can see, the commit below have the same comment (- init repository). I tried to change it, using this command 

git commit --amend -m "new comment"

but, rather then change the comment, I obtain this. Now, I have 2 identical commit with two different comments (the second "-init repository" and "-copia progetto etc..") and on two different branches. How can I delete one of those? I need to have only one blue branch with head and master aligned.

Thank you for reading and for the help.

Schermata 2020-12-22 alle 17.53.43.png

1 answer

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events