From: Luciano Rocha <luciano@eurotux.com>
To: git@vger.kernel.org
Subject: commit 0? (or: create new empty branch)
Date: Tue, 11 Mar 2008 12:30:04 +0000 [thread overview]
Message-ID: <20080311123004.GA27577@bit.office.eurotux.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
Hello,
I'd like to create a new branch, without any pre-existing data, for
purposes similar to git's html/man/.....
However, I've been unable to do that using the higher level tools.
Even starting from an empty git rep, I can't create a branch:
$ git init
Initialized empty Git repository in .git/
$ git branch empty
fatal: Not a valid object name: 'master'.
How were the different git.git branches created?
Regards,
Luciano Rocha
--
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2008-03-11 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 12:30 Luciano Rocha [this message]
2008-03-11 12:52 ` commit 0? (or: create new empty branch) Johannes Schindelin
2008-03-11 14:45 ` Luciano Rocha
2008-03-11 14:59 ` Johannes Schindelin
2008-03-11 13:08 ` Johannes Sixt
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=20080311123004.GA27577@bit.office.eurotux.com \
--to=luciano@eurotux.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).