$ git clone -n https://gitee.com/opencloudos-stream/kmousetool.git /var/lib/mock/dist-rebuild-after-rpm-check-build-174836-10981/root/chroot_tmpdir/scmroot/kmousetool Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-174836-10981/root/chroot_tmpdir/scmroot/kmousetool'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kmousetool * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47a9980 package init