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