$ git clone -n https://gitee.com/fundawang/python-django.git /var/lib/mock/dist-an23-build-352327-70987/root/chroot_tmpdir/scmroot/python-django Cloning into '/var/lib/mock/dist-an23-build-352327-70987/root/chroot_tmpdir/scmroot/python-django'... $ git fetch origin 1be0380f402dea3376638d3a7d59dd6a75fea2be:KOJI_FETCH_HEAD From https://gitee.com/fundawang/python-django * [new ref] 1be0380f402dea3376638d3a7d59dd6a75fea2be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1be0380 4.2.9