Loading Documents/bin/find-uncomitted 0 → 100755 +10 −0 Original line number Diff line number Diff line #!/bin/sh set -eu # shellcheck disable=SC2044 for repo in $(find "$HOME/Repositories" -maxdepth 7 -type d -name .git -exec dirname {} \;) do [ "$(git -C "$repo" stat | wc -l)" -gt '1' ] || continue [ "$(git -C "$repo" remote show | wc -l)" -gt 0 ] || continue echo "$repo" done Loading
Documents/bin/find-uncomitted 0 → 100755 +10 −0 Original line number Diff line number Diff line #!/bin/sh set -eu # shellcheck disable=SC2044 for repo in $(find "$HOME/Repositories" -maxdepth 7 -type d -name .git -exec dirname {} \;) do [ "$(git -C "$repo" stat | wc -l)" -gt '1' ] || continue [ "$(git -C "$repo" remote show | wc -l)" -gt 0 ] || continue echo "$repo" done