summaryrefslogtreecommitdiff
path: root/git-clean.sh
AgeCommit message (Collapse)AuthorFilesLines
2006-05-08Teach git-clean optional <paths>... parameters.Libravatar Junio C Hamano1-4/+13
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>
2006-04-05Add git-clean commandLibravatar Pavel Roskin1-0/+80
This command removes untracked files from the working tree. This implementation is based on cg-clean with some simplifications. The documentation is included. [jc: with trivial documentation fix, noticed by Jakub Narebski] Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>