diff options
Diffstat (limited to 'roles/jails/22_forge/files/git-shell-commands/ls')
| -rw-r--r-- | roles/jails/22_forge/files/git-shell-commands/ls | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/jails/22_forge/files/git-shell-commands/ls b/roles/jails/22_forge/files/git-shell-commands/ls new file mode 100644 index 0000000..ef5d3e5 --- /dev/null +++ b/roles/jails/22_forge/files/git-shell-commands/ls @@ -0,0 +1,4 @@ +#!/bin/sh +find . -maxdepth 1 -type d -name "*.git" | while read repo; do + basename "$repo" .git +done | sort |
