mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[GH-ISSUE #450] [bug] Gitlab 右键只能删除本地文件,远程文件无法删除 #331
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#331
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 @cyl-ly on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/450
Originally assigned to: @codexu on GitHub.
详细描述这个 Bug
想删除远程仓库文件,但是右键无法删除,删除本地同步后,远程仍存在
NoteGen 版本
0.19.8
操作系统
macOS
报错日志
No response
@cyl-ly commented on GitHub (Jul 24, 2025):
同时,我还想询问一下,如果我想跨设备协作笔记,就需要在两个设备上创建同名文件夹,然后同步。
或许是否可以在上方设置同步按钮,点击的时候 list 选择需要同步文件夹的按钮
【仅个人建议,因为看作者之前回复过,觉得同步全量文件的功能觉得不太需要】
@codexu commented on GitHub (Jul 24, 2025):
你是指文件夹右键上传里面的文件吗?
@cyl-ly commented on GitHub (Jul 24, 2025):
比如我在设备 A 上传了/test/demo.md
然后我想在设备 B 去协同编辑 demo,就需要在 B 新建 /test,然后同步
【是否可以点击同步后,会出现远程的文件夹列表,比如我点击 test 后,会自动拉取目标文件夹下面的文件,就不需要我在 B 新建同名📂了】
@codexu commented on GitHub (Jul 24, 2025):
不需要建立 /test 呀,正常就会出现远程的 test 文件夹:
如果本地没有 test 目录,也没有 test/demo.md 则会显示上图半透明的效果,点击 demo.md 就可以下载到本地了
@cyl-ly commented on GitHub (Jul 24, 2025):
我是这个效果
@cyl-ly commented on GitHub (Jul 24, 2025):
刚才更新了 0.19.9,但是还是出现了无法删除远程文件的问题,是我个人问题吗?
同步都开了,权限也都没问题
@codexu commented on GitHub (Jul 24, 2025):
这种情况是没有远程文件吧,还有文件夹和文件不能有空格,空格会在上传时转化为下划线,导致出现两个不同的目录。
@cyl-ly commented on GitHub (Jul 24, 2025):
远程仓库有的文件,是同步上去的
@codexu commented on GitHub (Jul 24, 2025):
看起来是你本地还没加载成功远程的文件列表,如果加载完成会有☁️图标:
@cyl-ly commented on GitHub (Jul 24, 2025):
我点击笔记页面的访问仓库按钮,他的 url 是错的,页面是 404
但是点击头像,就可以正确访问到 gitlab 我的主页
但是同步按钮也不会报错,也可以正确上传 md 文件
和这个会有关系吗
@codexu commented on GitHub (Jul 24, 2025):
自建 Gitlab 还是 gitlab.com 还是极狐?
@cyl-ly commented on GitHub (Jul 24, 2025):
gitlab.com
@codexu commented on GitHub (Jul 24, 2025):
我这边完全正常,仓库地址打开也是正常的,我打开的地址是:
https://gitlab.com/codexu/note-gen-sync
你发一下你的地址我看一下,是否是用户名没正确取到?
@cyl-ly commented on GitHub (Jul 24, 2025):
点击头像地址:https://gitlab.com/ucascyl
点击仓库地址:https://gitlab.com/Youlin%20Chai/note-gen-sync
gitlab 仓库地址:https://gitlab.com/ucascyl/note-gen-sync
@codexu commented on GitHub (Jul 24, 2025):
所以为啥变成了 Youlin%20Chai 呢?这是哪来的
@cyl-ly commented on GitHub (Jul 24, 2025):
I dont know,
既然头像的 url 正确,或许可以用头像的 url 拼接 note-gen-sync ?
@codexu commented on GitHub (Jul 24, 2025):
昂,我了解了,Gitlab 这个名字和账号错误,这和 Github 和 Gitee 有所区别,而我的账号和名称都是 codexu 所以没出现这个 bug,我尽快修复。