使用 Git 插件点击 commit and sync 后报错 fatal: ambiguous argument

遇到的问题

点击commit and sync后,弹出Committed 1 file origin/master 件 fatal: ambiguous argument’origin/master’: unknown revision or path not in the working tree. Use '-to separate paths from revisions, like this: ‘git […–[…’" fatal: bad revi

之前还遇到过:author identity unknown

请完善描述, 至少说明这场景是在使用 Git 插件, 在做 push 同步时发生的

建议还是先仔细核对操作步骤, 包括是否建好远程仓库, 分支叫 master 还是 main 等等
最好先别管 Ob, 先在仓库目录的命令行界面敲个 git push 看看能成功运行吗? 注意备份, 危险操作前对整个笔记库打 zip 包就行