Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
doc
/
git
/
contrib
/
git-shell-commands
Upload
5 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
README
839 B
-rw-r--r--
2024-05-31 00:41:06
Edit
Del
help
283 B
-rw-r--r--
2024-05-31 00:41:06
Edit
Del
list
227 B
-rw-r--r--
2024-05-31 00:41:06
Edit
Del
Editing: list
(227 B)
Path: /usr/share/doc/git/contrib/git-shell-commands/list
Back
#!/bin/sh print_if_bare_repo=' if "$(git --git-dir="$1" rev-parse --is-bare-repository)" = true then printf "%s\n" "${1#./}" fi ' find -type d -name "*.git" -exec sh -c "$print_if_bare_repo" -- \{} \; -prune 2>/dev/null