$ git clone -n https://gitee.com/src-opencloudos-rpms/python-dns.git /var/lib/mock/dist-oc8-build-100615-64761/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-oc8-build-100615-64761/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin 6b2a66faa32e1d396f7c70502ec5a3631c5f4dfe:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-dns * [new ref] 6b2a66faa32e1d396f7c70502ec5a3631c5f4dfe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6b2a66f import python-dns-1.15.0-12.tl3