mirror of
https://git.alemi.dev/gitshell.git
synced 2024-12-26 04:44:53 +01:00
14 lines
252 B
Bash
Executable file
14 lines
252 B
Bash
Executable file
#!/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
|