$ git clone -n https://src.fedoraproject.org/rpms/libgsf.git /var/lib/mock/f31-build-58726-28492/root/chroot_tmpdir/scmroot/libgsf Cloning into '/var/lib/mock/f31-build-58726-28492/root/chroot_tmpdir/scmroot/libgsf'... $ git reset --hard 96de5279989b964cc445fce1d8a59c35e49d212b HEAD is now at 96de527 Avoid using .gz while listing manpages According to https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages it is better to use pattern, because compression method may change.