$ git clone -n https://src.fedoraproject.org/rpms/ghc-with-location.git /var/lib/mock/f31-build-117085-34599/root/chroot_tmpdir/scmroot/ghc-with-location Cloning into '/var/lib/mock/f31-build-117085-34599/root/chroot_tmpdir/scmroot/ghc-with-location'... $ git reset --hard f42e4a8191d7c39ba5deb68c0edfd427f743b5d9 HEAD is now at f42e4a8 BR prof for lib and static for executable