$ git clone -n https://gitee.com/opencloudos-stream/bind9-next.git /var/lib/mock/dist-oc9-epol-build-114775-67955/root/chroot_tmpdir/scmroot/bind9-next Cloning into '/var/lib/mock/dist-oc9-epol-build-114775-67955/root/chroot_tmpdir/scmroot/bind9-next'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/bind9-next * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at befb841 update