mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-26 05:15:54 +03:00
[GH-ISSUE #829] [bug] 同步功能异常:文件修改后跨设备内容无法更新,且再次同步后被原内容覆盖 #621
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#621
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FrozenRod on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/codexu/note-gen/issues/829
Originally assigned to: @codexu on GitHub.
详细描述这个 Bug
问题描述
我分别在公司和家使用NoteGen,最近发现在家里修改的一个文件后同步,在公司无法看到修改的内容(无法更新git上的最新内容),点击同步后仍不行,登录gitee上发现它甚至把我修改的内容覆盖了,文件恢复了上个版本的内容。(把公司的旧文件再次提交了上去)
123,家中电脑(win11)、公司电脑(win10)和 Gitee 仓库版本一致。123456,点击同步。此时 Gitee 仓库中的文件内容成功变为123456。123。点击同步后,仍显示为123。123。重现步骤:
期望行为:
建议改进
NoteGen 版本
v0.23.5
操作系统
Windows
报错日志
No response
@codexu commented on GitHub (Jan 6, 2026):
嗯,是的,现在这种方式确实不好理解,我需要去考虑一下如何实际。
目前是在另一台设备同步后,在这台设备的历史记录中拉取最新的记录,好像确实有点不符合直觉。
@FrozenRod commented on GitHub (Jan 12, 2026):
版本v0.24.0,问题已优化,效果符合预期👍。感谢作者❤️✨