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

bug: 本地commit出错但不报错 #559

Open
seri037 opened this issue May 17, 2024 · 0 comments
Open

bug: 本地commit出错但不报错 #559

seri037 opened this issue May 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@seri037
Copy link

seri037 commented May 17, 2024

Environment 环境信息

TidGi (linux)
Version v0.9.6

Electron Version: 29.2.0
Node Version: 20.9.0
Chromium Version: 122.0.6261.156

Description 描述

未设置git全局user.name与user.email变量时,本地commit出错,但应用不报错提醒用户,仅在终端日志显示错误原因。且最终错误地提示“本地commit完成”、“无需同步,本地状态和云端一致”,导致无法正确备份、与云端同步,同时使用户难以排查错误。

image

Steps to Reproduce 复现方式

git config --global user.name ""

git config --global user.email ""

打开TidGi。任选一知识库。对设置了“云端同步知识库”的知识库,点击“立即同步云端”。对于备份在本地的知识库,点击“备份至本地Git”。

Additional Context 额外上下文

No response

@seri037 seri037 added the bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants