diff options
-rwxr-xr-x | bin/gscr | 2 | ||||
-rw-r--r-- | man/man1/gscr.1 | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # Scrub a Git repository -for arg in "${@:?}" ; do +for arg in "${@:-.}" ; do case $arg in *.git) cd -- "$arg" || continue diff --git a/man/man1/gscr.1 b/man/man1/gscr.1 index 495b6a33..91cc05fa 100644 --- a/man/man1/gscr.1 +++ b/man/man1/gscr.1 @@ -4,6 +4,8 @@ \- scrub a Git repository to pack it and reduce its size .SH SYNOPSIS .B gscr +.br +.B gscr /path/to/project/.git .br .B gscr |