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