If you select a branch on the mirror GitHub and the network is disconnected during synchronization, the gitea synchronized files will be cleared #14085

Open
opened 2025-11-02 11:02:27 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @leangjia on GitHub (Feb 2, 2025).

Description

bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。
Bug! @

Gitea Version

1.23.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。
Bug! @

Git Version

No response

Operating System

No response

How are you running Gitea?

bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。
Bug!

Database

None

Originally created by @leangjia on GitHub (Feb 2, 2025). ### Description bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。 Bug! @ ### Gitea Version 1.23.1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。 Bug! @ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? bug:选了镜像github上的分支,同步时断网,会把已经同步的清空掉,此时本地gitea代码全没了,因断网导致gitea本地分支清空掉。 Bug! ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:02:27 -06:00
Author
Owner

@techknowlogick commented on GitHub (Feb 2, 2025):

Here is the Google translate:

If you select a branch on the mirror github and the network is disconnected during synchronization, the synchronized code will be cleared. At this time, all local gitea codes are gone. The local gitea branches are cleared due to the network disconnection.

@techknowlogick commented on GitHub (Feb 2, 2025): Here is the Google translate: If you select a branch on the mirror github and the network is disconnected during synchronization, the synchronized code will be cleared. At this time, all local gitea codes are gone. The local gitea branches are cleared due to the network disconnection.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14085