Skip to content

FAQ? How are pulls/fetches automated? #49

@pmorch

Description

@pmorch

My goal is to sync the logseq folder between two different computers. The github repo is just an intermediary - a means to an end.

My goal is that I type something in e.g. today's journal page on my desktop and then when I open logseq on my android phone ½ hour later, I can see the change right away there without manually having to push or pull/fetch any changes - the goal is for the sync to be automatic.

This guide seems to automate pushes, which is half the problem.

But once the change has been pushed to github, how do I ensure that changes automatically appear on the other computers? For that git fetch or git pull needs to be automated, e.g. by cron or systemd (on linux) or by some other means on other platforms.

pre-commit has this: output=$(git pull --no-rebase), but I want the changes to show up on the other platforms before I start to type anything.

Did I miss something clever or is this aspect missing from the guide entirely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions