From: "Ciprian Dorin Craciun" <ciprian.craciun@gmail.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Repository specific git commands
Date: Mon, 7 Jan 2008 15:14:39 +0200 [thread overview]
Message-ID: <8e04b5820801070514l7a49b0fewcaa5f4b6d9a6c622@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0801071352470.14355@wbgn129.biozentrum.uni-wuerzburg.de>
On 1/7/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Mon, 7 Jan 2008, Ciprian Dorin Craciun wrote:
>
> > -- either define an alias -- but usually it is very restrictive in
> > terms of what the alias can do;
>
> You probably missed the possibility of executing a shell command (or
> commands) viathe "!" prefix.
>
> See also
>
> http://git.or.cz/gitwiki/Aliases/
>
> Hth,
> Dscho
I knew about the "!" prefix but this allows me to write only a
one-line script... But in the case I want more complex scripts? (Just
look at how hard it is to read the "Getting the diff of only one
function" example...) (Yes I could create a script, place it in a
special folder and add an alias to it -- remembering to put the right
path... But it is not as simple as adding it to the bin directory.)
Ciprian.
next prev parent reply other threads:[~2008-01-07 13:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 12:15 Repository specific git commands Ciprian Dorin Craciun
2008-01-07 12:55 ` Johannes Schindelin
2008-01-07 13:14 ` Ciprian Dorin Craciun [this message]
2008-05-23 14:20 ` Ciprian Dorin Craciun
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=8e04b5820801070514l7a49b0fewcaa5f4b6d9a6c622@mail.gmail.com \
--to=ciprian.craciun@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).