mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-14 11:49:19 +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
|