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