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