I’m using macOS and also note that, when installing this plug-in and enabling it, the menu option doesn’t appear. My vault is stored in a Cryptomator container, and no matter what I’ve done the option doesn’t appear. However, if I open my vault in a non-encrypted container and enable the plug-in the menu option magically appears and is able to be utilised.
While not ideal, this could be a workaround for some of you while we wait for a bug fix, and I hope that this can aid in debugging.
Cheers.
EDIT: After having a bit of a fiddle with some other community plug-ins it seems this issue isn’t specific to the Git plugin. @kepano minimal theme settings also has this problem, but is resolved when not in a vault within an encrypted container. This is on macOS, not sure if it applies to other OS at this stage. Food for thought!
I’ve finally managed to solve it, at least for macOS users. It seems to have to do with the command line tool:
open terminal and update it with xcode-select --install
Anyone know where a set of log files might be to help diagnose the issue? Would gladly submit a PR to fix the problem but I’m not sure how to locate it.
Found it! Dev tools. Should have guessed. Found out this is a GPG Key Signing issue. I forgot that I do the automatic signing of commits and pushes. Now to figure out how to make it work with this plugin.
I really know nothing about code or this software, but I opened up a GitHub desktop app. It registers changes that I make in Obsidian. The problem is, I have to add a summary and press the button commit to Main. So it will not back up ever xx minutes and described in the app description. Wondering what I should do. Maybe get Keyboard Maestro to start the back up every five minutes. Not sure how to do that.
For Windows users this is how I got the settings page to come up.:
Make sure you have downloaded git for windows
Get a/sign into your github account. Create a new (private) repository.
You will see a page that tells you a number of ways to set up a git folder in your computer’s file system. Copy and paste the first one into your windows terminal. This will create a .git folder in your computer. Before that, you might want to use the command cd to change the current directory of the git folder to be the same as your vault folder but I’m not sure if that’s necessary (that’s what I did anyway). (E.g cd C:\Users\winky\Documents)
Restart obsidian
The settings for the plugin should come up.
I also don’t see the config option.
I’m on macOS Big Sur, just installed the command line tools, and rebooted. Uninstalled and reinstalled several times.
I was in my identical notes folder that wasn’t a git repository. (I had both open at one time, and must have closed the wrong one.) When I opened the correct vault, voilà, there it was.
I want to use this plugin collaboratively with a group. I expect commits to be out of date if two of us are working on a vault at the same time.
Any suggestions or functionality that could be built into the plugin to poll Git for commits and alert the user that their version is out of date on real time?
Can it also display an error if a commit fails or suggest a Merge request as an alternative?
One of the things I’ve noticed when creating a backup (Open Command Palette – Obsidian Git: Create Backup) is it seems to hang and I just have the message in the lower right corner saying “git: pushing changes”.
No issue from command line, just wanted to better understand how to do it within Obsidian if at all possible.