$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-posix.git /var/lib/mock/f31-build-112263-34273/root/chroot_tmpdir/scmroot/ghc-regex-posix Cloning into '/var/lib/mock/f31-build-112263-34273/root/chroot_tmpdir/scmroot/ghc-regex-posix'... $ git reset --hard ea1d20d738140cfacc44f1845791385d85070187 HEAD is now at ea1d20d BR prof for lib and static for executable