Re: way to automatically add untracked files?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Theodore Tso <tytso@...>, Johan Herland <johan@...>, <git@...>, Shawn O. Pearce <spearce@...>, Miles Bader <miles@...>
Date: Monday, August 6, 2007 - 12:58 am

On Aug 6, 2007, at 2:17 AM, Johannes Schindelin wrote:


Thanks.

"Starting with version 1.5.3, git supports appending the
arguments to commands prefixed with "!", too. If you need
to perform a reordering, or to use an argument twice, you
can use this trick:

[alias]
         example = !sh -c "ls $1 $0"

NOTE: the arguments start with $0, not with $1 as you are
used from shell scripts." [cited from the link above]

should do the job.

	Steffen


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
way to automatically add untracked files?, Miles Bader, (Sat Aug 4, 11:31 pm)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 12:00 am)
Re: way to automatically add untracked files?, Linus Torvalds, (Sun Aug 5, 1:03 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 3:34 am)
Re: way to automatically add untracked files?, Linus Torvalds, (Sun Aug 5, 1:04 pm)
Re: way to automatically add untracked files?, Junio C Hamano, (Sun Aug 5, 1:14 am)
Re: way to automatically add untracked files?, David Kastrup, (Sun Aug 5, 3:32 am)
Re: way to automatically add untracked files?, Shawn O. Pearce, (Sun Aug 5, 12:13 am)
Re: way to automatically add untracked files?, Junio C Hamano, (Mon Aug 6, 4:45 am)
Re: way to automatically add untracked files?, David Kastrup, (Mon Aug 6, 2:19 pm)
Re: way to automatically add untracked files?, Miles Bader, (Mon Aug 6, 8:08 pm)
Re: way to automatically add untracked files?, Johan Herland, (Sun Aug 5, 8:11 am)
Re: way to automatically add untracked files?, Theodore Tso, (Sun Aug 5, 12:11 pm)
Re: way to automatically add untracked files?, Johan Herland, (Sun Aug 5, 3:16 pm)
Re: way to automatically add untracked files?, Johannes Schindelin, (Sun Aug 5, 8:16 pm)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 11:09 pm)
Re: way to automatically add untracked files?, Johannes Schindelin, (Sun Aug 5, 11:21 pm)
Re: way to automatically add untracked files?, Johan Herland, (Mon Aug 6, 3:46 am)
Re: way to automatically add untracked files?, Johannes Schindelin, (Mon Aug 6, 8:17 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 11:45 pm)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 8:00 pm)
Re: way to automatically add untracked files?, Steffen Prohaska, (Sun Aug 5, 4:04 pm)
Re: way to automatically add untracked files?, Johannes Schindelin, (Sun Aug 5, 8:17 pm)
Re: way to automatically add untracked files?, Steffen Prohaska, (Mon Aug 6, 12:58 am)
Re: way to automatically add untracked files?, David Kastrup, (Sun Aug 5, 8:17 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 12:22 am)
Re: way to automatically add untracked files?, Junio C Hamano, (Sun Aug 5, 12:23 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 12:30 am)
Re: way to automatically add untracked files?, Junio C Hamano, (Sun Aug 5, 12:39 am)
Re: way to automatically add untracked files?, Steffen Prohaska, (Sun Aug 5, 7:22 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 12:53 am)
Re: way to automatically add untracked files?, Junio C Hamano, (Sun Aug 5, 1:04 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 1:17 am)
Re: way to automatically add untracked files?, Johannes Schindelin, (Sun Aug 5, 1:23 am)
Re: way to automatically add untracked files?, Miles Bader, (Sun Aug 5, 1:27 am)
Re: way to automatically add untracked files?, Shawn O. Pearce, (Sat Aug 4, 11:58 pm)
Re: way to automatically add untracked files?, Junio C Hamano, (Sun Aug 5, 12:13 am)