$ git clone -n https://gitee.com/opencloudos-stream/mongo-c-driver.git /var/lib/mock/dist-rebuild-after-rpm-check-build-178567-11379/root/chroot_tmpdir/scmroot/mongo-c-driver Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-178567-11379/root/chroot_tmpdir/scmroot/mongo-c-driver'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/mongo-c-driver * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 83b3520 package init