On 12/22/06, Andy Parkins <andyparkins@xxxxxxxxx> wrote:
On Thursday 2006 December 21 22:17, Nicolas Pitre wrote: > $ git branch -r > * master > origin/HEAD > origin/html > origin/maint > origin/man > origin/master > origin/next > origin/pu > origin/todo I'm trying to track down why "master" is being shown in this case";
This looks very much like "git branch -a". I've just tried this: $ git clone git://git2.kernel.org/pub/scm/git/git.git Initialized empty Git repository in /home/larsh/src/tmp/git/.git/ remote: Generating pack... remote: Done counting 34527 objects. remote: Deltifying 34527 objects. remote: 100% (34527/34527) done Indexing 34527 objects. remote: Total 34527, written 34527 (delta 23920), reused 34111 (delta 23623) 100% (34527/34527) done Resolving 23920 deltas. 100% (23920/23920) done Checking files out... 100% (748/748) done $ cd git $ git branch -r origin/HEAD origin/html origin/maint origin/man origin/master origin/next origin/pu origin/todo $ git branch -a * master origin/HEAD origin/html origin/maint origin/man origin/master origin/next origin/pu origin/todo $ cp .git/refs/heads/master .git/refs/remotes/master $ git branch -r master origin/HEAD origin/html origin/maint origin/man origin/master origin/next origin/pu origin/todo $ git symbolic-ref HEAD refs/remotes/master $ git branch -r fatal: HEAD not found below refs/heads! $ git --version git version 1.4.4.2.gee60 -- larsh - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html