$ git clone -n https://gitee.com/src-opencloudos-rpms/python-dns.git /var/lib/mock/dist-oc9-build-73381-48841/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-oc9-build-73381-48841/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin 9f10b2b5145522d64c171be72d3eab3631c28772:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-dns * [new ref] 9f10b2b5145522d64c171be72d3eab3631c28772 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9f10b2b import python-dns-2.6.1-1.tl4