charliie-dev/Logseq-Git-Sync-101
charliie-dev/Logseq-Git-Sync-101 has 1,366 GitHub stars and 106 forks. GitHot measured 0 stars in 24 hours, -3 in 7 days, and -3 in 15 days. Last checked 2026-11-25 05:40 UTC. Last push 2026-06-10.
实测星标增长
- 24小时
- 0
- 7天
- -3
- 15天
- -3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
帮助 Logseq 用户通过 Git 和 GitHub 同步数据。
开发工具README.md
原文Logseq-Git-Sync-101
Description
This repo aims to help Logseq users to sync their data via Git and GitHub.
Why use Git + GitHub to sync Logseq graph?
Self Managed Sync Diagram, by @danzu
From the above diagram, it's pretty obvious that Git is the most robust way to sync your graph. iCloud is slow and problematic. Syncthing has no first-party iOS/iPadOS app, but it can be used there through a compatible third-party client such as Möbius Sync — see #40 for a community-tested setup.
However, Git is quite scary for non-programmers, so this doc is here to help!
🎩 Suit up
Please check Prerequisite and get yourself a cup of coffee ☕.
🤔 So how does this method work?
Please check Workflow.
Now you need another cup of coffee
For Windows users
Please check Windows.
For macOS users
Please check macOS.
For iOS/iPadOS users
Please check iOS/iPadOS.
For Android users
Please check Android.
For Linux users
Linux users click here
If you are a Linux user, why are you still watching this repo? Shooo. 😎Lol, just a joke. Take the steps in macOS section as reference if you need it.
💥 Omg, Something blows up
Please check FAQ.
Change log
- 2026-06-11: Harden the git hooks.
pre-commitnow surfacesgit pullfailures with an actionable message instead of silently committing on a broken sync (and stays quiet on success);post-commitpushes the current branch viagit push origin HEADso repos whose default branch isn'tmainwork, and reports push failures. Both fail fast on credential prompts (GIT_TERMINAL_PROMPT=0). The Androidpush-graph.shno longer aborts before pushing when there is nothing new to commit. See thepre-commit/post-commitmessages FAQ. - 2026-06-11: Issue cleanup. Fixed dead GitHub docs links (
set-up-git) and thessh -T [email protected]test command in Workflow/FAQ; added FAQ entries for SSH-over-443 (blocked port 22), HTTPS auth inside Logseq, Snapssh-keyspermission, and how pulls are automated; clarified the iOS Working Copy shortcut steps; added optional.gitattributes(merge=union) guidance; hardenedgit-hooks/pre-commitwith merge/rebase guards; noted Möbius Sync for Syncthing on iOS; and listed related community tools in Home. - 2024-04-18: Add ssh config in Workflow to avoid Permission denied:(publickey) issue.
- 2023-12-27: Fix For Android users
Termuxpath to~/storage/sharedto avoid issue#34. - 2023-11-21: Update For iOS/iPadOS users (Working-Copy) for updated version of Working Copy.
- 2023-10-21: Add deprecation warning at For iOS/iPadOS users (a-Shell-Deprecated)
- 2023-10-12: Add Why and how to fix error: "fatal: not in a git directory"? to
FAQ. - 2023-01-09: Add
a-Shellsupport for iOS/iPadOS users as a free althernative. - 2022-11-01: Update
Prerequisite,For macOS users,For Android users,FAQwiki.
🪨 References
- Working Copy on iOS, by @danieltomasz^1.
- Steps to auto sync iOS + Windows, by @Caps^3.
- Gitea - self-hosted git server, by @Sawhney^2.
- Self Managed Sync + Android setup, by @danzu^5 and @Abulafia^4.
- Git hooks settings
- What is GitHub?
- How does Git work?
- Repository size limits for GitHub.com
- About large files on GitHub
- Differences between CRLF and LF, in Chinese.
- Alternative way of git syncing on iOS using a-shell for free, by Petrus Hyvönen^7.
- [Tutorial] How to enable automatic logseq graph sync on iOS with git & shortcut, by @sickmz^8.
🎉 Acknowledgment
Credits to @danieltomasz^1, @Sawhney^2, @Caps^3, @Abulafia^4 @qwxlea^5 for the workflow build up. And credits to @danzu^6 for the incredible diagram!
FYI, those IDs are IDs in Logseq Discord Server if not specified.
探索相关项目
加载中…