$ git clone -n https://gitee.com/opencloudos-stream/gnome-session.git /var/lib/mock/dist-ocs23-build-24324-1191/root/chroot_tmpdir/scmroot/gnome-session Cloning into '/var/lib/mock/dist-ocs23-build-24324-1191/root/chroot_tmpdir/scmroot/gnome-session'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gnome-session * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at daad239 update