$ git clone -n https://gitee.com/opencloudos-stream/php-pecl-ds.git /var/lib/mock/dist-ocs23-rebuild-test-2-build-181601-12112/root/chroot_tmpdir/scmroot/php-pecl-ds Cloning into '/var/lib/mock/dist-ocs23-rebuild-test-2-build-181601-12112/root/chroot_tmpdir/scmroot/php-pecl-ds'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/php-pecl-ds * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c3f30f update