You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use $GIT_CONFIG_GLOBAL to point git to my .gitconfig, which doesn't live in ~/.gitconfig, but Obsidian Git is ignoring it.
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
- Obsidian Git complains that it can't find my credentials whenever it tries to make a backup.- Git commits are created but with the wrong authorship and no GPG-signing occurs.
Steps to reproduce
Set env var $GIT_CONFIG_GLOBAL through ~/.zshrc to a location other than ~/.gitconfig and ensure no ~/.gitconfig file exists.
Expected Behavior
Obsidian Git uses the .gitconfig file pointed at by $GIT_CONFIG_GLOBAL.
Addition context
No response
Operating system
Windows
Installation Method
None
Plugin version
2.20.5
The text was updated successfully, but these errors were encountered:
Your .zshrc is not read since no zsh shell is started. You need to set the environment variable somewhere so that Obsidian gets it when started. The easiest way though is through the "Additional environment variables" setting in the plugin settings.
Describe the bug
I use
$GIT_CONFIG_GLOBAL
to point git to my.gitconfig
, which doesn't live in~/.gitconfig
, but Obsidian Git is ignoring it.Relevant errors (if available) from notifications or console (
CTRL+SHIFT+I
)Steps to reproduce
Expected Behavior
Obsidian Git uses the
.gitconfig
file pointed at by$GIT_CONFIG_GLOBAL
.Addition context
No response
Operating system
Windows
Installation Method
None
Plugin version
2.20.5
The text was updated successfully, but these errors were encountered: