From: "Shawn O. Pearce" <spearce@spearce.org>
To: Nguy???n Th??i Ng???c Duy <pclouds@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] init-db: support --import to add all files and commit right after init
Date: Tue, 24 Mar 2009 19:14:58 -0700 [thread overview]
Message-ID: <20090325021458.GY23521@spearce.org> (raw)
In-Reply-To: <1237946996-5287-1-git-send-email-pclouds@gmail.com>
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'
?
--
Shawn.
next prev parent reply other threads:[~2009-03-25 2:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 2:09 [PATCH] init-db: support --import to add all files and commit right after init Nguyễn Thái Ngọc Duy
2009-03-25 2:14 ` Shawn O. Pearce [this message]
2009-03-25 2:27 ` Nguyen Thai Ngoc Duy
2009-03-25 3:51 ` Johannes Schindelin
2009-03-25 4:25 ` Nguyen Thai Ngoc Duy
2009-03-25 4:19 ` Jeff King
2009-03-25 4:32 ` Nguyen Thai Ngoc Duy
2009-03-25 4:49 ` Jeff King
2009-03-31 9:09 ` Miles Bader
2009-03-31 9:27 ` Jeff King
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=20090325021458.GY23521@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=pclouds@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.