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