Re: default remote branch

2015-09-21 Thread Junio C Hamano
Thibault Kruse writes: > Also, I tried finding out whether I can use the > .git/refs/remotes//HEAD to check the default branch without > accessing the remote. However, I find this file is not updated with a > git fetch, nor created when missing. That is more or less deliberate. Which one of the

default remote branch

2015-09-18 Thread Thibault Kruse
Hi, the 'git remote show ' command shows the default branch among other things. The default branch being the branch that a clone will have immediately after cloning. Is it possible to run a command that only shows that default branch for a given remote? Also, I tried finding out whether I can us

[PATCH] cogito: master as the default remote branch

2005-07-20 Thread Santi Béjar
Recover the old behavior of the remote branch name ... specified in $_git/branches/$name and defaulting to master. Signed-off-by: Santi Béjar <[EMAIL PROTECTED]> --- cg-pull |2 +- cg-push |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cg-pull b/cg-pull --- a/cg-p