Re: git rebase -i <first_commit_in_repository>
- From
Allan Caffee <allan.caffee@gmail.com>
- Date
- Oct 26, 2009, 20:47 UTC
- Message-ID
- <b2e43f8f0910261347m38ccb608nb5858ff1dc432b33@mail.gmail.com>
- In-Reply-To
- <4AE60669.9080402@dirk.my1.cc>
2009/10/26 Dirk Süsserott <newsletter@dirk.my1.cc>:
Show 11 quoted lines
> 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