-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 auto commit cannot be enabled #3207
Comments
To test if git is working
Please follow these steps and let me know if you have any issues. If you do please post the output of Git auto will only commit. it will not push automatically for you. |
Unfortunately I encountered bug #3208 when attempting to create a new graph. |
Can you test with the new 0.4.9 beta? It's available in the releases page. It's not available in the AUR yet |
File chooser dialog not appearing on |
Yes there appears to be an issue with the new electron version #3202. Hopefully it will be fixed soon. For now can you run git status in your current graph and post the output? Are you sure you aren't mixing up git commit with git push? |
It's just fixed and will be delivered in the next beta release. Or you can rollback to the 0.4.6, as it's using a lower ver. of Electron. |
I can confirm that git autocommits are also not happening on my install of Logseq 0.4.9 (released) on Windows 11. I have the directory installed in a WSL2 distro, git is installed for both the windows and WSL2 runtimes. |
Can you test if 0.5.0 solved this issue? |
I'm having trouble with |
@Laptop765 Thank you for the confirmation! |
Is there any debug info I could provide to help out? I'm not sure where to look for errors. |
@Laptop765 It seems that |
git init .
Reinitialized existing Git repository in C:/Users/Lapto/.logseq/git/Ccomma_Users_Lapto_test/.git/ It looks like it created a Edit: Ahh there's a Edit 2: Might be a path escaping issue on |
Okay on another test it looks like Edit: After waiting a while it still doesn't auto-commit. |
Not sure if it's relevant, but I have a pre-existing |
@Laptop765 Sorry for the late response, can you give this newly built release a try? |
Definitely! Case 1: fresh graph
Success! The Case 2: graph with existing
Success! The change was committed. |
@tiensonqin Both #3207 and #3208 (#3202) appear to be fixed in Namely, git auto commit is running (confirmed "Autosaved by Logseq" in git log), the GUI toggle for version control is working, and the file selection dialog now appears for new graphs. Thank you. |
@johnghill @Laptop765 Awesome, thank you both for the confirmation! |
Describe the bug
Git auto commit cannot be enabled
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
n/a
Desktop (please complete the following information):
Additional context
I have tried dropping
:git-auto-push true
into[graph]/logseq/config.edn
and~/.config/Logseq/configs.edn
but neither of these measures restores auto commitThe text was updated successfully, but these errors were encountered: