Implement the reseting of integration

This commit is contained in:
Laurent Rineau 2012-12-18 20:19:10 +01:00
parent 8c374aa36f
commit 9207f428c8
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ if [ -d "$1/.git" ]; then
echo "Git repository, in branch '$branch'"
git fetch
git reset --hard origin/$branch
git clean -f
# Hard-reset integration "every day" even if today's "$branch" is not integration
git push -f origin origin/master:integration
popd
else
svn up "$1"