$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-redis5.git /var/lib/mock/f33-build-178426-44997/root/chroot_tmpdir/scmroot/php-pecl-redis5 Cloning into '/var/lib/mock/f33-build-178426-44997/root/chroot_tmpdir/scmroot/php-pecl-redis5'... $ git reset --hard 7fc0500b2a8f719bcc79e647bcbe2f7044c63681 HEAD is now at 7fc0500 v5.2.1