Nuñito Calzada
Nuñito Calzada

Reputation: 2056

Git - Merge to Master

I want to merge what I've done in my develop brach to the master, but the master does not appear in Eclipse merge tool

enter image description here

enter image description here

Upvotes: 1

Views: 5952

Answers (1)

Thibault D.
Thibault D.

Reputation: 10105

Your working tree is yet on branch develop, but you need to be on branch master if you want to modify it. (You will modify it by appending a merge commit).

You need first to checkout branch master, and then merge develop into master.

If you were doing this with git command-line, that would be:

$ git checkout master
$ git merge develop

But I'm sure you can find the corresponding functions in Eclipse.

Remember, with Git you can only modify the branch you're sitting on (working tree).

Upvotes: 3

Related Questions