blob: 9c8a6061a76155b897908a33e8d77f9ca73d1c60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/bash -eu
git_repos="$(find ~/git -mindepth 1 -maxdepth 1 -type l,d)"
echo "$git_repos" | while read line ; do
echo "<==================>"
echo "$line"
cd "$line"
git pull
if [[ -f "$line"/TODO ]]; then
echo
echo ">> TODO:"
cat "$line/TODO"
fi
echo "<==================>"
echo
done
|