Hi, I managed to do the following:
git checkout master Branch master set up to track remote branch master from origin. Switched to a new branch 'master' Then I merged release-2.2.16 to this branch. When done I pushed it. I checked and remote master now contains my changes. Thanks for all help! //mike On Wednesday, June 27, 2012 1:41:41 PM UTC+2, Thomas Ferris Nicolaisen wrote: > > > > On Wednesday, June 27, 2012 12:38:07 PM UTC+2, mike wrote: >> >> You've just checked out a commit as your HEAD that is the head of the >>> origin/master branch. But you need to checkout a new branch master >>> that will be a copy (local fork) of the origin/master or more probably >>> you need to checkout your existing master and merge origin/master into >>> it. >>> >> >> How can I do that? Which command? Or do I do it from Eclipse? ( Attach >> picture from Eclipse). >> >> > > Can you try checking out "origin/master" as a local tracking branch > "master"? > > On the command line you can do it like this: > > git checkout -t origin/master > > In Eclipse, maybe you can right-click the origin/master branch under > "Remote tracking" folder, and do something like "track locally". Not sure > as I haven't got Eclipse running here. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/1IhtFR7jzdwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
