Create
cancel
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 December 22, 2020

Hi,

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

Atlassian Community Events