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