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.
Hi @Elena Festi ,
Welcome to the community! We are glad you are here!
Wish you a very happy new year!
Please read and follow the article/documentation
https://confluence.atlassian.com/sourcetreekb/branch-management-785325799.html
if doesn't work for you, then read these
https://aaron.blog/2015/12/09/sourcetree-delete-multiple-branches-at-one-time/
https://community.gamedev.tv/t/sourcetree-how-to-remove-red-branches/135519/8
https://superuser.com/questions/1277558/cant-delete-branch-sourcetree
Regards,
Soumyadeep (SaM)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.