From: Rustom Mody <rustompmody@gmail.com>
To: git@vger.kernel.org
Subject: how to start with non-master branch?
Date: Sun, 19 Jul 2009 18:23:32 +0530 [thread overview]
Message-ID: <f46c52560907190553x4e21ffbdn6d55c43f2d6b08ad@mail.gmail.com> (raw)
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?
next reply other threads:[~2009-07-19 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-19 12:53 Rustom Mody [this message]
2009-07-19 16:13 ` how to start with non-master branch? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f46c52560907190553x4e21ffbdn6d55c43f2d6b08ad@mail.gmail.com \
--to=rustompmody@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).