Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以实现在启动logseq 时自动pull,退出logseq时自动push呢? #29

Open
chinakylix opened this issue Mar 8, 2023 · 2 comments

Comments

@chinakylix
Copy link

我有两台电脑上都在使用logseq,通过git仓库实现两边的数据同步。有时在一台电脑上写了些内容,忘了提交,结果很容易造成版本冲突,能否可以实现在启动logseq 时自动pull,退出logseq时自动push呢?这样既可以避免上述情况,也能减小git提交的频率。非常感谢!

@haydenull
Copy link
Owner

如果你用的 mac 可以试试 Shortery 这个软件,他可以在电脑休眠或唤醒时执行指令。windows 估计也有类似功能的软件。

logseq 这不太好做,没办法监听系统的信息。

@DeeliN221
Copy link

这个功能似乎已经实现了?现在打开Logseq会卡个两三秒,然后就会自动拉取更新并尝试应用。这个插件有个设置项是关闭Logseq可以自动push。所以这个议题或许可以关了? @haydenull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants