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

LogSeq folder as child of repo breaks commit and push #67

Open
thecapedcoder opened this issue Nov 1, 2024 · 0 comments
Open

LogSeq folder as child of repo breaks commit and push #67

thecapedcoder opened this issue Nov 1, 2024 · 0 comments

Comments

@thecapedcoder
Copy link

If you have your LogSeq folder inside of a repo, and not the repo itself, attempting to push creates a .git file (not folder) in the LoqSeq folder with a reference to the directory it is in. This is forcing git to treat the folder like a submodule and ignore the changes to the subfolder.

Steps to repro:

  1. Checkout a repo
  2. Create a LoqSeq graph stored in a sub folder of that repo
  3. Make change
  4. Commit and push, "No changes to push".
  5. .git file now exists in LogSeq folder.

In troubleshooting I ran all the commands, as run by the plugin, I wasn't able to produce this with git exclusively so it does seem to be something happening in the plugin itself as I also cannot reproduce without the plugin (no plugin, no .git file).

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

1 participant