Code

Teach git-clean optional <paths>... parameters.
authorJunio C Hamano <junkio@cox.net>
Mon, 8 May 2006 19:02:44 +0000 (12:02 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 8 May 2006 23:40:45 +0000 (16:40 -0700)
commit393e3b1910221da5a78f7f79a45507b5fde59b77
tree63e99ce7c9d73c1792bea0502601004167cef7e4
parent45f75a0167b4a4693f2c6005bf7db231ca91ecc8
Teach git-clean optional <paths>... parameters.

When optional paths arguments are given, git-clean passes them
to underlying git-ls-files; with this, you can say:

git clean 'temp-*'

to clean only the garbage files whose names begin with 'temp-'.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Documentation/git-clean.txt
git-clean.sh