diff options
Diffstat (limited to 'fetch-git-reports.sh')
-rwxr-xr-x | fetch-git-reports.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fetch-git-reports.sh b/fetch-git-reports.sh index ae1bc27..0d0a2d9 100755 --- a/fetch-git-reports.sh +++ b/fetch-git-reports.sh @@ -13,6 +13,8 @@ for repo in gentoo-ci gpyutils repos; do [[ -d ${repo} ]] || git clone --depth=1 "git://anongit.gentoo.org/report/${repo}.git" cd "${repo}" + git reset --hard + git clean -df git fetch origin '+refs/heads/*:refs/remotes/origin/*' git pull cd - >/dev/null |