I use syncthing instead. But if I switch computers quickly there are conflicts which I resolve like this:
function sync_history
cat ~/.local/share/fish/fish_history.sync-conflict-* >>~/.local/share/fish/fish_history
rm ~/.local/share/fish/fish_history.sync-conflict-*
end