Re: git init doesn't create master branch

2013-05-29 Thread Matthieu Moy
Ákos, Tajti akos.ta...@intland.com writes: Dear List, the manual of git init says: An initial HEAD file that references the HEAD of the master branch is also created. However, after creating the repository using git init there's no master branch. Right, but HEAD still points to it ;-). We

Re: git init doesn't create master branch

2013-05-29 Thread Ramkumar Ramachandra
Matthieu Moy wrote: the manual of git init says: An initial HEAD file that references the HEAD of the master branch is also created. However, after creating the repository using git init there's no master branch. Right, but HEAD still points to it ;-). We sometimes call this an unborn

Re: git init doesn't create master branch

2013-05-29 Thread Ákos, Tajti
Thanks for clarifying this thing for me! I don't really insist on having a master branch it's just that I tried to pull from a repository bundle and I got this error message: Cannot merge multiple branches into empty head The command was: git pull ../dump.dmp refs/heads/*:refs/heads/* Is

Re: git init doesn't create master branch

2013-05-29 Thread Matthieu Moy
Ákos, Tajti akos.ta...@intland.com writes: The command was: git pull ../dump.dmp refs/heads/*:refs/heads/* git pull does internally a git fetch followed by a git merge. If you try to pull several branches at the same time, it means you want to merge all of them together (octopus merge),

Re: git init doesn't create master branch

2013-05-29 Thread Ákos, Tajti
Thanks! I ill try using fetch. Ákos 2013.05.29. 15:08 keltezéssel, Matthieu Moy írta: Ákos, Tajti akos.ta...@intland.com writes: The command was: git pull ../dump.dmp refs/heads/*:refs/heads/* git pull does internally a git fetch followed by a git merge. If you try to pull several

Re: git init doesn't create master branch

2013-05-29 Thread Ramkumar Ramachandra
Ákos, Tajti wrote: Cannot merge multiple branches into empty head The command was: git pull ../dump.dmp refs/heads/*:refs/heads/* Is this a better way of doing this? pull runs a fetch, which updated .git/FETCH_HEAD. Now, if .git/FETCH_HEAD has just one branch (and other not-for-merge

Re: git init doesn't create master branch

2013-05-29 Thread Junio C Hamano
Ákos, Tajti akos.ta...@intland.com writes: Thanks for clarifying this thing for me! I don't really insist on having a master branch it's just that I tried to pull from a repository bundle and I got this error message: Cannot merge multiple branches into empty head The command was: git