Re: Change default branch name (server side) while cloning a repository

2015-03-29 Thread Gaurav Chhabra
@Stefan: Thanks for letting me know the version you tried on. I have the following: Gitolite version: gitolite3 v3.04-13-gcc9727c-dt on git 1.7.1 Git server version: git version 1.7.1 Git client version: git version 1.9.4.msysgit.2 My Git server version lags quite behind compared to yours. :)

Change default branch name (server side) while cloning a repository

2015-03-27 Thread Garbageyard
on Git server will change the default branch while cloning? If I’m wrong, can anyone please tell me how can I enforce this change on the /server/ side correctly? -- View this message in context: http://git.661346.n2.nabble.com/Change-default-branch-name-server-side-while-cloning-a-repository

Re: Change default branch name (server side) while cloning a repository

2015-03-27 Thread Stefan Näwe
Am 27.03.2015 um 13:27 schrieb Garbageyard: We use Gitolite for access control and i have admin access on Git server. I wanted to make sure that whenever a new repository is created and is then cloned on any machine, the default branch should point to mainline. To do this, when I run the

Re: Change default branch name (server side) while cloning a repository

2015-03-27 Thread Jeff King
On Fri, Mar 27, 2015 at 03:27:27PM +0100, Stefan Näwe wrote: If i now clone the repository on my local machine, then the default branch should be pointing to mainline and not master. However, the issue is that it still points to master. Am I /wrong/ in assuming that changing the entry in

Re: Change default branch name (server side) while cloning a repository

2015-03-27 Thread Matthieu Moy
Garbageyard varuag.chha...@gmail.com writes: If i now clone the repository on my local machine, then the default branch should be pointing to mainline and not master. However, the issue is that it still points to master. Am I /wrong/ in assuming that changing the entry in file HEAD for a