$ git clone -n https://gitee.com/fundawang/php-ioncube-loader.git /var/lib/mock/dist-an8.6-build-129852-46203/root/chroot_tmpdir/scmroot/php-ioncube-loader Cloning into '/var/lib/mock/dist-an8.6-build-129852-46203/root/chroot_tmpdir/scmroot/php-ioncube-loader'... $ git reset --hard a3c7d72136227d57f62362ff13db5ec854965105 HEAD is now at a3c7d72 drop useless endif