$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-base.git /var/lib/mock/f38-build-side-42-init-devel-514471-25554/root/chroot_tmpdir/scmroot/ghc-regex-base Cloning into '/var/lib/mock/f38-build-side-42-init-devel-514471-25554/root/chroot_tmpdir/scmroot/ghc-regex-base'... $ git reset --hard fcc02c410fc83efd315f6e60eed079d1cee9a883 HEAD is now at fcc02c4 Convert to %autorelease and %autochangelog