Problem with detached head and with merging the wrong way around

Hello, I’ve finished this course, but ran into some trouble with branches I hope you can help me with.
Problem one: I wanted to test out branching and merging, so I made a test branch and merged it with the master, or so I thought. I wanted to delete the testbranch afterwards. But it seems I did it the wrong way around, and now i dont know how to fix it. Any ideas how this happened and what i should do to fix it?

Problem two: If I try to get back to a previous commit, sourcetree warns me that I will create a detached head. I presume this isn’t what I want… How do i go back to a previous version without doing this? Help would be great:)!

Some pics below for clarification:)

4acdbf89b5eab3e5af295a489b8bf32b

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms