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