-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
SYNC FORK always only syncs the base repo's default branch #33271
Comments
Related: It seems that GitHub also defaults to the "main" (default) branch: |
I see, then we need a new logic:
? It sounds strange. What if the forked branch gets renamed? Does GitHub remember the base branch instead of guessing it? |
In this case it will take the default branch in the base repo, as the renamed branch is only in the fork. |
So let me try to summarize the solution: suppose there is a
Is it good enough? |
Yes I think this okay. Thanks! |
-> Improve sync fork behavior #33319 |
Description
In 1.23.1, the "sync fork" only syncs the base repo's default branch. As in GitHub it should sync the same branch of the forked repo in the base repo as well.
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
self hosted.
gitea-1.23.1-linux-amd64
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: