$ git clone -n https://gitee.com/opencloudos-stream/cpputest.git /var/lib/mock/dist-oc9-epol-build-82802-57152/root/chroot_tmpdir/scmroot/cpputest Cloning into '/var/lib/mock/dist-oc9-epol-build-82802-57152/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