From: Shawn O. Pearce Date: Wed, 25 Mar 2009 02:14:58 GMT Subject: Re: [PATCH] init-db: support --import to add all files and commit right after init Message-ID: <20090325021458.GY23521@spearce.org> In-Reply-To: <1237946996-5287-1-git-send-email-pclouds@gmail.com> 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' ? -- Shawn.