Update Gitea-Sektion:
Branch-Auswahl
Dieser Commit ist enthalten in:
@ -820,8 +820,12 @@ class ApiClient {
|
||||
return this.post(`/git/set-remote/${projectId}`, { repoUrl });
|
||||
}
|
||||
|
||||
async gitInitPush(projectId, branch = 'main') {
|
||||
return this.post(`/git/init-push/${projectId}`, { branch });
|
||||
async gitInitPush(projectId, targetBranch = null, force = false) {
|
||||
return this.post(`/git/init-push/${projectId}`, { targetBranch, force });
|
||||
}
|
||||
|
||||
async gitRenameBranch(projectId, oldName, newName) {
|
||||
return this.post(`/git/rename-branch/${projectId}`, { oldName, newName });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren