mirror of
https://git.alemi.dev/gitshell.git
synced 2024-12-25 20:44:51 +01:00
fix: very jank use of tree
This commit is contained in:
parent
b99790c86f
commit
70e3d77b19
1 changed files with 7 additions and 5 deletions
12
ls
12
ls
|
@ -1,10 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
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
|
||||
for f in $(ls /srv/git -a); do
|
||||
if [[ $f == *.git ]]; then
|
||||
echo $f
|
||||
fi
|
||||
done
|
||||
# for f in $(ls /srv/git -a); do
|
||||
# if [[ $f == *.git ]]; then
|
||||
# echo $f
|
||||
# fi
|
||||
# done
|
||||
|
|
Loading…
Reference in a new issue