$ git clone -n https://gitee.com/fundawang/dnsmasq.git /var/lib/mock/dist-an23-build-353958-71027/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-an23-build-353958-71027/root/chroot_tmpdir/scmroot/dnsmasq'... $ git fetch origin 882d14fc942fec03ab1440eaa9cf702ea123b381:KOJI_FETCH_HEAD From https://gitee.com/fundawang/dnsmasq * [new ref] 882d14fc942fec03ab1440eaa9cf702ea123b381 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 882d14f 2.90