mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-22 15:34:52 +01:00
15 lines
252 B
Text
15 lines
252 B
Text
|
#!/bin/bash
|
||
|
|
||
|
# ls /srv/git -I 'git-shell-commands'
|
||
|
|
||
|
# one above misses repos like '.dotfiles', let's do it by hand
|
||
|
for f in $(ls /srv/git/.public -a); do
|
||
|
if [[ $f == '.' ]]; then
|
||
|
continue
|
||
|
elif [[ $f == '..' ]]; then
|
||
|
continue
|
||
|
fi
|
||
|
|
||
|
echo "$f"
|
||
|
done
|