$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-yaml.git /var/lib/mock/f38-build-718037-96673/root/chroot_tmpdir/scmroot/php-pecl-yaml Cloning into '/var/lib/mock/f38-build-718037-96673/root/chroot_tmpdir/scmroot/php-pecl-yaml'... $ git reset --hard 4e8d2ef2146e8637f98eae58b3460498dec76383 HEAD is now at 4e8d2ef update to 2.2.3