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