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