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

Valid git repository not found #55

Closed
jorgb opened this issue Mar 17, 2021 · 4 comments
Closed

Valid git repository not found #55

jorgb opened this issue Mar 17, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@jorgb
Copy link

jorgb commented Mar 17, 2021

Hi, I am using an indirect git repository. This means my git folder itself is not stored in the obsidian folder but outside. This worked well in the past, and also works with the git client and SourceTree (atlassian product).

It means there is a textfile in your folder called .git (not a folder) in which a redirect link is located. The contents of that file is:

gitdir: C:/Users/ZZZ/Documents/repos/Obsidian.git

This worked in the past, and is broken now, I assume there is a check before push if the .git folder is there? It does not have to be, it can also be a file.

It would be great if this can be fixed.

@Vinzent03 Vinzent03 added the bug Something isn't working label Mar 17, 2021
@Vinzent03
Copy link
Owner

So the Obsidian.git folder is your actually git folder? And that's your root repo?

@Vinzent03
Copy link
Owner

Fixed in new release

@jorgb
Copy link
Author

jorgb commented Mar 17, 2021

So the Obsidian.git folder is your actually git folder? And that's your root repo?

Yes but I am using the git repository directory option to specify my git files outside the obsidian directory since I am syncing the obsidian files to Google Drive and I don't want to sync all git files too. It is a nifty option to keep your working folder clean.

@Vinzent03
Copy link
Owner

Thanks for the tip. Had exact that problem too.

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