checkupdates: set push ref to HEAD:refs/heads/branch_name

This commit is contained in:
linsui 2025-04-09 19:09:30 +08:00 committed by Hans-Christoph Steiner
parent e7060011aa
commit e538c34c32

View File

@ -809,7 +809,7 @@ def push_commits(branch_name='checkupdates'):
progress = git.RemoteProgress()
pushinfos = remote.push(
f"{branch_name}:{branch_name}",
f"HEAD:refs/heads/{branch_name}",
progress=progress,
force=True,
set_upstream=True,