Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (13 sloc) 341 Bytes
#!/bin/bash
toplevel_directory="$(git rev-parse --show-cdup)"
[ -n "$toplevel_directory" ] && { echo "please run from the toplevel directory"; exit 1; }
find .git_externals -type d -name .git | while read gitdir; do
dir=$(dirname "$gitdir")
if [ -d $dir ]; then
pushd $dir
echo $dir
git svn fetch
git svn rebase
popd
fi
done
Jump to Line
Something went wrong with that request. Please try again.