$ git clone -n https://gitee.com/src-opencloudos-rpms/python-PyMySQL.git /var/lib/mock/dist-oc9-build-81234-54895/root/chroot_tmpdir/scmroot/python-PyMySQL Cloning into '/var/lib/mock/dist-oc9-build-81234-54895/root/chroot_tmpdir/scmroot/python-PyMySQL'... $ git fetch origin 7c6862c09328c6666488249ef767cb95d033692c:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-PyMySQL * [new ref] 7c6862c09328c6666488249ef767cb95d033692c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c6862c import python-PyMySQL-1.1.1-1.tl4