$ git clone -n https://src.fedoraproject.org/rpms/ghc-edit-distance.git /var/lib/mock/f38-build-689775-82602/root/chroot_tmpdir/scmroot/ghc-edit-distance Cloning into '/var/lib/mock/f38-build-689775-82602/root/chroot_tmpdir/scmroot/ghc-edit-distance'... $ git reset --hard c2f8f57edc3e7d3dfbd8aceb2c9dd8be3c407e11 HEAD is now at c2f8f57 Convert to %autorelease and %autochangelog