From: "Dirk Süsserott" <newsletter@dirk.my1.cc>
To: Allan Caffee <allan.caffee@gmail.com>
Cc: "Dirk Süsserott" <newsletter@dirk.my1.cc>,
eschvoca <eschvoca@gmail.com>,
kusmabite@gmail.com, git@vger.kernel.org
Subject: Re: git rebase -i <first_commit_in_repository>
Date: Wed, 28 Oct 2009 20:24:49 +0100 [thread overview]
Message-ID: <4AE89A81.9040407@dirk.my1.cc> (raw)
In-Reply-To: <b2e43f8f0910261347m38ccb608nb5858ff1dc432b33@mail.gmail.com>
Am 26.10.2009 21:47 schrieb Allan Caffee:
> 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,
that works great and is not as cumbersome as my solution.
Thank you!
Dirk
next prev parent reply other threads:[~2009-10-28 19:25 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
2009-10-28 19:24 ` Dirk Süsserott [this message]
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=4AE89A81.9040407@dirk.my1.cc \
--to=newsletter@dirk.my1.cc \
--cc=allan.caffee@gmail.com \
--cc=eschvoca@gmail.com \
--cc=git@vger.kernel.org \
--cc=kusmabite@gmail.com \
/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).