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