This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/fish
|
|
|
|
cd "$HOME/Projects"
|
|
|
|
fd -d5 -H '^\.git$' |
|
|
sd '\.git$' '' |
|
|
while read repo
|
|
pushd "$repo"
|
|
if git cherry -v 2> /dev/null | wc -l | xargs -n1 test 0 -lt
|
|
echo Unpushed repos $repo
|
|
break
|
|
end
|
|
popd
|
|
end
|
|
|
|
# vim: ft=fish
|