From: Nguyen Thai Ngoc Duy Date: Wed, 25 Mar 2009 02:27:52 GMT Subject: Re: [PATCH] init-db: support --import to add all files and commit right after init Message-ID: In-Reply-To: <20090325021458.GY23521@spearce.org> On Wed, Mar 25, 2009 at 1:14 PM, Shawn O. Pearce wrote: > Nguy???n Th??i Ng???c Duy 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