$ git clone -n https://gitee.com/src-opencloudos-rpms/dnsmasq /var/lib/mock/dist-oc8-build-56896-15178/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-oc8-build-56896-15178/root/chroot_tmpdir/scmroot/dnsmasq'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dnsmasq * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6e400b3 import dnsmasq-2.79-26.tl3