Wykonaj rebase gałęzi na Main
Pobiera zmiany z gałęzi źródłowej (domyślnie głównej) do tej gałęzi jako nową wersję. Jeśli obie gałęzie zmieniły to samo pole, rebase zwraca 409, chyba że conflict_resolutions rozwiązuje każdy konflikt zgłoszony w podglądzie rebase. Osoby mające tylko dostęp do proponowania mogą pobierać zmiany do własnej gałęzi z jej gałęzi nadrzędnej (domyślnego źródła).
Parametry ścieżki
Unikalny identyfikator gałęzi źródłowej do scalenia.
Nagłówki
Parametry zapytania
ID gałęzi, z której mają zostać pobrane zmiany. Domyślnie główna gałąź agenta.
Żądanie
Side to keep, or custom text where the conflict accepts it, for each conflict the preview reported. A merge or rebase with conflicts is rejected unless there is one for every conflict, sent with both tip ids. On a merge it can’t be combined with force, which lets the source win every conflict instead.
Tip version of the branch being rebased (source_tip_version_id of the rebase preview) the conflicts were resolved against. The request fails with 409 if it moved since.
Tip version of the branch the changes are pulled from (source_branch_id, the main branch by default; target_tip_version_id of the rebase preview) the conflicts were resolved against. The request fails with 409 if it moved since.
Odpowiedź
Pomyślna odpowiedź