echo "Config error (both origin and current)" >&2
exit 1
else
- cd "$origin" || exit 1
+ cd "$origin" &&
exec ./update
fi
elif [ -z "$current" ]; then
web="`git config --get --path remote.web.url`" &&
if [ -n "$web" ]; then
- git push web master
+ git push web
fi &&
cd "$current" && exec git pull origin