$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-applicative.git /var/lib/mock/f38-build-689599-82553/root/chroot_tmpdir/scmroot/ghc-regex-applicative Cloning into '/var/lib/mock/f38-build-689599-82553/root/chroot_tmpdir/scmroot/ghc-regex-applicative'... $ git reset --hard b9c89e889448ac64ec35374c149b5c6b5d4e7e5c HEAD is now at b9c89e8 Convert to %autorelease and %autochangelog