$ git clone -n https://gitee.com/src-opencloudos-rpms/python-testtools.git /var/lib/mock/dist-oc9-build-47958-14592/root/chroot_tmpdir/scmroot/python-testtools Cloning into '/var/lib/mock/dist-oc9-build-47958-14592/root/chroot_tmpdir/scmroot/python-testtools'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-testtools * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a717cd1 import python-testtools-2.5.0-3.tl4