$ git clone -n https://gitee.com/src-opencloudos-rpms/dnsmasq.git /var/lib/mock/dist-oc8-build-74698-51079/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-oc8-build-74698-51079/root/chroot_tmpdir/scmroot/dnsmasq'... $ git fetch origin bc42fe0ee6b13f34dd86b89c3a41bffbea42a36d:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dnsmasq * [new ref] bc42fe0ee6b13f34dd86b89c3a41bffbea42a36d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bc42fe0 import dnsmasq-2.79-33.tl3