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