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