Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
We need -f to push those submodules back up to Github
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrahams committed Jan 15, 2013
1 parent 718e2a9 commit efcbc15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@ sleep 5
rsync -aix --delete .git/ $WORKSPACE/boost-history.git/ | pv -le -s "$(du -d 0 .git/ | cut -f 1)" > /dev/null

# Push tools and libs up to GitHub
set +e
for dir in libs tools ; do
pushd "$dir"
for module in * ; do
pushd "$module"
git remote add origin "git@github.com:boostorg/$module"
git push --mirror origin
git push --mirror -f origin
popd
done
popd
Expand Down

0 comments on commit efcbc15

Please sign in to comment.