$ git clone -n https://gitee.com/opencloudos-stream/magicmirror.git /var/lib/mock/dist-ocs23-epol9-build-214608-15946/root/chroot_tmpdir/scmroot/magicmirror Cloning into '/var/lib/mock/dist-ocs23-epol9-build-214608-15946/root/chroot_tmpdir/scmroot/magicmirror'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/magicmirror * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f885200 update