$ git clone -n https://src.fedoraproject.org/rpms/ghc-enclosed-exceptions.git /var/lib/mock/f38-build-688496-82312/root/chroot_tmpdir/scmroot/ghc-enclosed-exceptions Cloning into '/var/lib/mock/f38-build-688496-82312/root/chroot_tmpdir/scmroot/ghc-enclosed-exceptions'... $ git reset --hard d11be33c3235fef275f112483099b8611d03678c HEAD is now at d11be33 Convert to %autorelease and %autochangelog