14 lines
207 B
Text
14 lines
207 B
Text
if [[ -d ~/Git ]]; then
|
|
pushd "${HOME}/Git" > /dev/null
|
|
for repo in ./*; do
|
|
cd "$repo"
|
|
echo
|
|
basename "$repo"
|
|
git pull
|
|
cd ..
|
|
done
|
|
popd > /dev/null
|
|
else
|
|
>&2 echo "\"~/Git\" does not exist!"
|
|
fi
|
|
|