https://www.dendron.so/ logo
hi, I have a local vault, and I've setup a git rep...
# questions
l
hi, I have a local vault, and I've setup a git repo (local-only as well), but the sync command isn't doing anything, tried having the sync setting to
noPush
and
sync
but it still isn't commiting the changes
k
can you share your
dendron.yml
?
according to this config, you have a single vault right now in
dendron-workspace
. do you have another vault that you added? where is it in relation to the dendron.yml?
l
oh I have 2 vscode workspaces with a vault in each
I also want to have diff git repos for each of them (and this vault is in a pen)
k
ah - and when you are running
workspace sync
in one vscode workspace, were you expecting the other one to also sync?
l
no no, to sync the current one
just a normal sync, but it says "commited 0 repos", instead of commiting the changes I have
perhaps dendron isn't detecting the repo I
git init
k
according to the dendron.yml, dendron will try to look for the workspace in the same place where your
dendron.yml
is located. does your workspace have the following structure?
Copy code
- {YOUR_WORKSPACE_FOLDER}/
  - .git <-- git repo
  - dendron.yml
  - notes
    - ... <-- your notes
l
lol that was it, I had done
git init
inside the
notes/
folder :p
thanks!
k
np, glad we got it worked out 🙂