$ git clone -n https://src.fedoraproject.org/rpms/ghc-microlens-platform.git /var/lib/mock/f38-build-707291-91796/root/chroot_tmpdir/scmroot/ghc-microlens-platform Cloning into '/var/lib/mock/f38-build-707291-91796/root/chroot_tmpdir/scmroot/ghc-microlens-platform'... $ git reset --hard f39cc3d6d607e7d5d65f5a39e8b3af23f16b9c57 HEAD is now at f39cc3d Convert to %autorelease and %autochangelog