Re: Problems setting up bare repository (git 1.5.3.3)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Barry Fishman <barry_fishman@...>
Cc: <git@...>
Date: Tuesday, October 2, 2007 - 1:40 pm

Hi,

[please do not cull me from the Cc: list, especially when you are quoting 
me]

On Tue, 2 Oct 2007, Barry Fishman wrote:


Good.  Just for my curiousity: where in the documentation did you look for 
help?  (We might want to advertise "git push <nick> <branch>" more loudly 
there.)


That means that there was no master branch.  Before the first commit, a 
branch does not exist.  We are stricter in that regard than other SCMs.


Why?  I really do not see the point in creating a branch which is named 
different than "master", when you have nothing to begin with.

Just use "master".  As easy as that.

If you really have to paint the bike shed, you can always rename your 
branch later, when you got something, by "git branch -m <new-branch-name>".


How about "Your first commit will create the master branch" instead of the 
last sentence?

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Problems setting up bare repository (git 1.5.3.3), Barry Fishman, (Tue Oct 2, 9:54 am)
Re: Problems setting up bare repository (git 1.5.3.3), Johannes Schindelin, (Tue Oct 2, 1:40 pm)