Re: [PATCH] init-db: support --import to add all files and commit right after init
On Wed, Mar 25, 2009 at 1:14 PM, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 7 quoted lines
> Nguy???n Th??i Ng???c Duy <pclouds@gmail.com> wrote:
>> This is equivalent to "git init;git add .;git commit -q -m blah".
>> I find myself doing that too many times, hence this shortcut.
>
> Why not:
>
> git config --global alias.init-import '!git init && git add . && git commit -q'
1. less setup on new machine
2. fast-import support (not yet though)
--
Duy