Skip to content

Hitting "Sync with GitHub" button twice causes changes to revert #37

@esmodea

Description

@esmodea

Description
When I change any file in the vault it syncs properly but then after it syncs if I don't change that file before next sync it undoes my sync. I've been trying to use this plugin for a small team of devs so we can utilize the Kanban plugin Obsidian has and I can confirm two different machines, one on MacOS and one on Windows 11, have this problem.

Steps to reproduce

  1. Sync a notes file
  2. Change the notes file
  3. Sync the notes file
  4. Sync the notes file again
  5. See unchanged notes file

Copied Logs

{"timestamp":"2025-09-17T18:14:21.205Z","level":"INFO","message":"Received modify event","additional_data":"StorySquad FE General.md"}
{"timestamp":"2025-09-17T18:14:21.212Z","level":"INFO","message":"Updated modified file","additional_data":"StorySquad FE General.md"}
{"timestamp":"2025-09-17T18:14:27.207Z","level":"INFO","message":"Starting sync"}
{"timestamp":"2025-09-17T18:14:27.503Z","level":"INFO","message":"Actions to sync","additional_data":[{"type":"upload","filePath":"StorySquad FE General.md"}]}
{"timestamp":"2025-09-17T18:14:28.767Z","level":"INFO","message":"Sync done"}
{"timestamp":"2025-09-17T18:14:30.189Z","level":"INFO","message":"Starting sync"}
{"timestamp":"2025-09-17T18:14:30.208Z","level":"INFO","message":"Actions to sync","additional_data":[{"type":"download","filePath":"StorySquad FE General.md"}]}
{"timestamp":"2025-09-17T18:14:30.377Z","level":"INFO","message":"Received modify event","additional_data":"StorySquad FE General.md"}
{"timestamp":"2025-09-17T18:14:30.379Z","level":"INFO","message":"Updated just downloaded modified file","additional_data":"StorySquad FE General.md"}
{"timestamp":"2025-09-17T18:14:31.489Z","level":"INFO","message":"Sync done"}
{"timestamp":"2025-09-17T18:14:33.921Z","level":"INFO","message":"Starting sync"}
{"timestamp":"2025-09-17T18:14:33.961Z","level":"INFO","message":"Nothing to sync"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions