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

Git is not ready! #314

Closed
JacksonNiu616 opened this issue Sep 17, 2022 · 32 comments
Closed

Git is not ready! #314

JacksonNiu616 opened this issue Sep 17, 2022 · 32 comments

Comments

@JacksonNiu616
Copy link

image
my git can work in other app, How can i get it ready for obsidian?
thanks!

@Vinzent03
Copy link
Collaborator

There should be a notification when starting Obsidian, which gives you more details why it's not ready.

@driftywinds
Copy link

I am having the same issue, even though the vault opened is cloned from my repo. This is what it shows me when I start Obsidian -
Screenshot_2022_09_21_17_49_16_08_51606159b24eff83e24a54116878fe3e

@Vinzent03
Copy link
Collaborator

@driftywinds Can you verify in you file viewer or terminal that a .git directory exists at the root of you obsidian vault? And try clearing the base path setting.

@driftywinds
Copy link

driftywinds commented Sep 21, 2022

@driftywinds Can you verify in you file viewer or terminal that a .git directory exists at the root of you obsidian vault? And try clearing the base path setting.

yes there is a .git directory at the root of my vault and the base path setting is cleared. It still gives me the same error

@mathewlowry
Copy link

Same problem. There was no notification when starting Obsidian. There is a .git directory.
What does "clearing the base path setting" refer to?

@Vinzent03
Copy link
Collaborator

@mathewlowry There is a base path setting, which may cause this issue. Is there any error in the console? (CTRL + SHIFT + I)

@AlainRo
Copy link

AlainRo commented Oct 2, 2022

+1 working well on a machine but "git is not ready" on another one with the same remote repo. No visible error in the console.

@mathewlowry
Copy link

Hi, The instructions I was following were to install GitHub Desktop, but that turned out to be a mistake. I installed Git, messed about for a while with the guys behind massive.wiki, and got it working. Not exactly a simple install process, tho - will document it at some point, but for now hope this helps.

@AlainRo
Copy link

AlainRo commented Oct 2, 2022

I found an error message :
Capture d’écran 2022-10-02 à 12 28 54

@Vinzent03
Copy link
Collaborator

@AlainRo See #67

@AlainRo
Copy link

AlainRo commented Oct 2, 2022

Problem solved after : xcode-select --install
👍
Thank you for this plugin

@Evan-Tian
Copy link

Evan-Tian commented Oct 6, 2022

When I start Obsidian, I got a notification "Cannot run git command".
Similarly, the console of "Ctrl + Shift + I" report the same error
( I use Win11 OS, and my git support the "3rd-party command" )

@Vinzent03
Copy link
Collaborator

@CupidTian That's strange, maybe git is installed in an unusual location that's not in the PATH env var of Obsidian?

@marcluque
Copy link

When I start Obsidian, I got a notification "Cannot run git command". Similarly, the console of "Ctrl + Shift + I" report the same error ( I use Win11 OS, and my git support the "3rd-party command" )

@Vinzent03 I have the same issue.
image

@CupidTian That's strange, maybe git is installed in an unusual location that's not in the PATH env var of Obsidian?

I added /usr/bin/git (the standard path for git) explicitly but it didn't help.

I use Ubuntu 22.04.1.

@Vinzent03
Copy link
Collaborator

@marcluque how did you install Obsidian?

@marcluque
Copy link

@marcluque how did you install Obsidian?

With snap

@Vinzent03
Copy link
Collaborator

@marcluque Snap is not reported as stated in the README

@marcluque
Copy link

@marcluque Snap is not reported as stated in the README

Ouh I see, thank you, Flatpak works!

@lemonway64
Copy link

Excuse me, I meet same problem as marcluque in windows11. How can I slove this?

@marcluque
Copy link

How did you install Obsidian @lemonway64?

@lemonway64
Copy link

How did you install Obsidian @lemonway64?

I just download through the official site with windows 11

@charlesNeedFocus
Copy link

Excuse me. I meet the same problem in windows10. how can i slove this.? obsidian v1.1.8 . i added git install path to the Path variables.
image

@charlesNeedFocus
Copy link

Excuse me. I meet the same problem in windows10. how can i slove this.? obsidian v1.1.8 . i added git install path to the Path variables. image

ok,i put the whole path in the Git binary path: C:\Program Files\Git\bin\git.exe . and it works ! ! !

@lemonway64
Copy link

exactly. need to download this:

https://git-scm.com/

@oneegin
Copy link

oneegin commented Jan 1, 2023

I use GitHubDesktop and windows 10, I put the whole path in the Git binary path
c:\Users....your_name.....\AppData\Local\GitHubDesktop\app-3.1.2\resources\app\git\cmd\git.exe

@talismangit
Copy link

talismangit commented Jan 8, 2023

My obsidian says "Git is not ready. When all setting are correct you can configure auto backup, etc.
I dont get any notificatons and I have everything set-up like in the tutorial by Danny Talks Tech. Is there something I need to turn on or check to find where I made a mistake?

@Vinzent03
Copy link
Collaborator

@talismangit Is there any error in the console (CTRL + SHIFT + I)? You should get a notification what exactly is wrong.

@Chang-Hoon
Copy link

I had the same issue and tried all siad on #405 and reisntall/update git, and downgrade obsidian-git but ALL didn't work.

It just backed to work when my Windows 10 laptop rebooted.

@bsridatta
Copy link

Having the same issue on startup it says cannot run git command while I have it in the standard location /usr/bin/git

@Harvey-myc
Copy link

windows 10, I put the whole path in the Git binary path

I only works with this path : C:\Program Files\Git\cmd\git.exe. just for note

@jubiiz
Copy link

jubiiz commented Aug 18, 2023

I had the same issue. I'm on Win 10 Pro.
I fixed it by adding Git to my PATH environment variable (it had gotten removed somehow).

@luckyops
Copy link

luckyops commented Jan 18, 2024

I just solved this problem. I found that I configured the address in the ‘Custom Git binary path ’ of obsidian git. Just delete this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests