$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-redis5.git /var/lib/mock/f31-build-69443-30317/root/chroot_tmpdir/scmroot/php-pecl-redis5 Cloning into '/var/lib/mock/f31-build-69443-30317/root/chroot_tmpdir/scmroot/php-pecl-redis5'... $ git reset --hard 7746f360e41af11c6a602d8c947a755b0da23010 HEAD is now at 7746f36 v5.0.2