I have just done a "cherry picking" by executing
git fetch ssh://myname@something1 something2 && git checkout FETCH_HEAD
After I execute git branch
(to see what branch I am in), I see that I am in a branch with a strange name: (HEAD detached at FETCH_HEAD)
:
* (HEAD detached at FETCH_HEAD)
master
When I go to master by executing git checkout master
this "strange" branch disappears and, as far as I understood, the changes that I "cherry picked" from the remote repository disappear as well (because they are in the "branch" that has disappeared).
So, my questions is: How can I merge the strange "branch" into the master so that the changes in this branch do not disappear?