git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to start with non-master branch?
@ 2009-07-19 12:53 Rustom Mody
  2009-07-19 16:13 ` Dirk Süsserott
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rustom Mody @ 2009-07-19 12:53 UTC (permalink / raw)
  To: git

I want my first commit to be on a non-master branch.
So after the git init I do
$ git checkout -b newbranch

I get
fatal: You are on a branch yet to be born

Of course I can get by with making the first commit on master and then
switching.

But wondering if I am missing something basic?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-19 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-19 12:53 how to start with non-master branch? Rustom Mody
2009-07-19 16:13 ` Dirk Süsserott
2009-07-19 16:19 ` Sean Estabrooks
2009-07-19 17:44 ` Charles Bailey
2009-07-19 18:26 ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).