[git-users] Re: how merge a branch in an empty head

2013-07-25 Thread 杨沐
Thanks a lot , I've got it , I missed doing `git fetch origin` command. I know how to use `git clone ` command , but I think using the above method make me comprehend the git internal principle. 在 2013年7月24日星期三UTC+8下午9时44分10秒,Thomas Ferris Nicolaisen写道: > > > > On Wednesday, July 24, 2013 12:08:0

[git-users] Re: how merge a branch in an empty head

2013-07-24 Thread Thomas Ferris Nicolaisen
On Wednesday, July 24, 2013 12:08:07 PM UTC+2, 杨沐 wrote: > > I do the same thing which u told me , but it doesn't work , please see the > picture below: Do a `git fetch origin` to download the new remote branches. Note that for the above workflow (fetching for the first time), you're gener

Re: [git-users] Re: how merge a branch in an empty head

2013-07-24 Thread Konstantin Khomoutov
On Wed, 24 Jul 2013 03:08:07 -0700 (PDT) 杨沐 wrote: > I do the same thing which u told me , but it doesn't work , please > see the picture below: > >

[git-users] Re: how merge a branch in an empty head

2013-07-24 Thread 杨沐
I do the same thing which u told me , but it doesn't work , please see the picture below: 在 2013年7月24日星期三UTC+8下午3时36分17秒,Th

[git-users] Re: how merge a branch in an empty head

2013-07-24 Thread Thomas Ferris Nicolaisen
On Wednesday, July 24, 2013 5:39:34 AM UTC+2, 杨沐 wrote: > excuse, your command $ git branch master origin/master could not take > effect, please see the picture below: > > >

[git-users] Re: how merge a branch in an empty head

2013-07-23 Thread 杨沐
excuse, your command $ git branch master origin/master could not take effect, please see the picture below: 在 2011年5月23日星期一UTC+

[git-users] Re: how merge a branch in an empty head

2011-05-23 Thread Thomas Ferris Nicolaisen
Not quite sure what you're trying to do here, but usually there is no point in merging into an empty branch. Rather, just create the branch based on the other branch: git branch master origin/master (sets up a branch called "master" based on the remote origin/master) -- You received this m