<

Committing to Git from iPhone using Obsidian

I like the concept of WikiWikiWeb, and I like Obsidian and Scrapbox, which include this concept. Obsidian has a obsidian-git Git integration plugin. With this, you can Git Commit not only from your desktop but also from your mobile. So, I will introduce the procedure to Git Commit in Obsidian using the iPhone I have.

Procedure

  1. Access https://obsidian.md/ from iPhone and download the app

  2. Open the app and tap on Create new vault

obsidian_1
obsidian_1
  1. Enter an appropriate name in Vault name (can be changed later) and tap on Create
obsidian_2
obsidian_2
  1. Tap on the sidebar icon in the upper left → settings icon → community plugins → enable community plugins in that order
obsidian_3
obsidian_3
  1. Browse community plugins → Enter Git → Tap on Obsidian Git, then tap on Install → Enable
obsidian_4
obsidian_4
  1. Tap on Options
obsidian_5
obsidian_5
  1. Enter your Github account and Personal Access Token (you only need repo permissions). Tap the cross button to return to the screen in step 4.
obsidian_6
obsidian_6
  1. Scroll down, display the command palette → Enter "Clone" and tap the displayed option.
obsidian_7
obsidian_7
  1. Enter the repository URL you want to clone.
obsidian_8
obsidian_8
  1. Tap Vault Root.
obsidian_9
obsidian_9
  1. Tap NO (if the .obsidian folder is in the repository, tap YES).
obsidian_10
obsidian_10
  1. Once the clone is successful, you can view the files in the repository.

  2. In Obisidian Git's Advanced, enter the Author name and Author email, then tap the cross.

obsidian_12
obsidian_12
  1. Make some changes to the file.

  2. Scroll down, open the command palette → Enter "Git Open source" and tap the displayed option.

obsidian_16
obsidian_16
  1. You can Stage with the + button, Commit with the check button, and Push with the upload button.
obsidian_15
obsidian_15

Problems

  • You can create a branch from your smartphone, but you can't Push
  • You can't Switch to a remote branch that doesn't exist locally (even if you pull) from your smartphone

Basically, it seems that all you can do from your smartphone is commit and push on the main branch.

In conclusion

I'm thinking of writing various notes from my smartphone from now on!

If it was helpful, support me with a ☕!

Share

Related tags