From: Allan Caffee <allan.caffee@gmail.com>
To: "Dirk Süsserott" <newsletter@dirk.my1.cc>
Cc: eschvoca <eschvoca@gmail.com>, kusmabite@gmail.com, git@vger.kernel.org
Subject: Re: git rebase -i <first_commit_in_repository>
Date: Mon, 26 Oct 2009 16:47:38 -0400 [thread overview]
Message-ID: <b2e43f8f0910261347m38ccb608nb5858ff1dc432b33@mail.gmail.com> (raw)
In-Reply-To: <4AE60669.9080402@dirk.my1.cc>
2009/10/26 Dirk Süsserott <newsletter@dirk.my1.cc>:
> Am 26.10.2009 19:08 schrieb eschvoca:
> Hi,
>
> probably my approach could help you in the future: When I create a new repo
> (git init) I firstly create an initial commit with nothing else than an
> initial commit, i.e.:
>
> $ git init
> $ echo "initial" > initial.commit
> $ git add initial.commit
> $ git commit -m "Initial commit"
I don't think this is actually necessary. You should just be able to do:
$ git init
$ git commit --allow-empty -m "Initial commit (empty)"
--
Allan
next prev parent reply other threads:[~2009-10-26 20:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 17:14 git rebase -i <first_commit_in_repository> eschvoca
2009-10-26 17:24 ` Mike Hommey
2009-10-26 17:25 ` Erik Faye-Lund
2009-10-26 18:08 ` eschvoca
2009-10-26 20:28 ` Dirk Süsserott
2009-10-26 20:47 ` Allan Caffee [this message]
2009-10-28 19:24 ` Dirk Süsserott
2009-10-26 21:11 ` Johannes Schindelin
2009-10-27 0:27 ` eschvoca
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=b2e43f8f0910261347m38ccb608nb5858ff1dc432b33@mail.gmail.com \
--to=allan.caffee@gmail.com \
--cc=eschvoca@gmail.com \
--cc=git@vger.kernel.org \
--cc=kusmabite@gmail.com \
--cc=newsletter@dirk.my1.cc \
/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).