- [Working Copy][1] is a great app for managing git repos on iOS.
- I use it to manage my [content][2] repo.
- Keep changes I make on my phone in sync with the changes I make on other devices
- Since I like to use iA Writer on my phone, which doesn’t display the status of the underlying git repo
Automation: commit all changes
- Commit all modified files to the
content
repo with the message “update content changed on iOS” - Push
content
to remote “origin” - Repeat every time I close iA Writer or Working Copy
[insert screenshot of each setting]
Automation: pull changes
Every time I open iA Writer or Working Copy, pull any changes I made to the content
repo from “origin” to my phone.
Troubleshooting
What to do if automation step fails because device is locked? Unfortunately, you can’t automate these actions based on an event that may happen while your phone is locked. My first attempt was to run these automations at certain times of day, but that didn’t work since Working Copy itself restricts repo access while your device is locked. That why I and this author opted to trigger the automation when an app was opened or closed.
…
https://discussions.apple.com/thread/254442427
Inbox
- Sync your Obsidian Vault on iOS with GitHub, Working Copy, and Apple Shortcuts | Megan Sullivan • similar solution someone independently came up with for obsidian editing on iOS