gitshell/ls

13 lines
310 B
Text
Raw Normal View History

#!/bin/bash
2024-02-08 17:57:37 +01:00
tree /srv/git -I "hooks|objects|info|branches|refs|HEAD|description|config|cgitrc|FETCH_HEAD|packed-refs"
# ls /srv/git -I 'git-shell-commands'
# one above misses repos like '.dotfiles', let's do it by hand
2024-02-08 17:57:37 +01:00
# for f in $(ls /srv/git -a); do
# if [[ $f == *.git ]]; then
# echo $f
# fi
# done