$ git clone -n https://src.fedoraproject.org/rpms/ghc-text-metrics.git /var/lib/mock/f38-build-690751-82757/root/chroot_tmpdir/scmroot/ghc-text-metrics Cloning into '/var/lib/mock/f38-build-690751-82757/root/chroot_tmpdir/scmroot/ghc-text-metrics'... $ git reset --hard d60145a9b02b23f3e29e50257046415ec6f49e2b HEAD is now at d60145a Convert to %autorelease and %autochangelog