Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot run git command. Trying to run 'git' #775

Open
zydxhs opened this issue Sep 22, 2024 · 3 comments
Open

[Bug]: Cannot run git command. Trying to run 'git' #775

zydxhs opened this issue Sep 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zydxhs
Copy link

zydxhs commented Sep 22, 2024

Describe the bug

When I execute the 'Git: List changed files' command, this prompt appears:
Cannot run git command. Trying to run 'git'

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

Press CTRL + P, input Git: List changed files, and press enter button.

Expected Behavior

The normal behavior should be to list the modified files in the vault.

Addition context

OS: Deepin 23
CPU: x86_64
core: 6.6.40-amd64-desktop-hwe
GIT: git version 2.45.2

installation method: linglong

Operating system

Linux

Installation Method

Other

Plugin version

2.27.0

@zydxhs zydxhs added the bug Something isn't working label Sep 22, 2024
@Vinzent03
Copy link
Owner

Seems like linglong puts Obsidian in a container. You may try to set the installation path of git which git in the "custom git binary path" setting in Obsidian plugins settings. Otherwise it's not possible for Obsidian to access your git installation.

@zydxhs
Copy link
Author

zydxhs commented Sep 25, 2024

I tried reinstalling Obsidian using the deb package, but still encountered similar issues. It appears to be a bug in Deepin v23.
In the Deepin community, someone has encountered the same problem.

@zydxhs
Copy link
Author

zydxhs commented Nov 11, 2024

I am currently experiencing the same issue on Windows 10:

TypeError: Cannot read properties of undefined (reading'isBuffer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants