Skip to content

Instantly share code, notes, and snippets.

@bartvdbraak
Created July 29, 2024 00:24
Show Gist options
  • Save bartvdbraak/f95d3284c8d84f88aefcc9742066a35c to your computer and use it in GitHub Desktop.
Save bartvdbraak/f95d3284c8d84f88aefcc9742066a35c to your computer and use it in GitHub Desktop.
Sync Logseq on iOS with `git` and A-Shell

Set up git over SSH on iOS

  1. Install A-Shell on iOS
  2. Create an SSH key on device
ssh-keygen -t ecdsa -N "" -f ~/Documents/.ssh/id_ecdsa
  1. Copy the public key and add to where your remote repository is (GitHub, Gitlab, Gitea, etc.)
cat ~/Documents/.ssh/id_ecdsa.pub
  1. Change your git configuration (vim .gitconfig)
[user]
identityFile = ~/Documents/.ssh/id_ecdsa
password = ""
name = "your.name"
email = "your.email"

Configure Logseq

  1. Open Logseq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment