नेविगेशन पर जाएँ

ब्रांच को main पर रीबेस करें

सोर्स ब्रांच (डिफ़ॉल्ट रूप से मुख्य) से बदलाव पुल करके इस ब्रांच में नया वर्शन बनाएं। अगर दोनों ब्रांच ने एक ही फ़ील्ड बदली है, तो rebase 409 लौटाता है, जब तक conflict_resolutions rebase प्रीव्यू में बताए गए हर कॉन्फ़्लिक्ट को हल न कर दे। सिर्फ propose एक्सेस वाले कॉलर अपनी पैरेंट ब्रांच (उनका डिफ़ॉल्ट सोर्स) से अपनी ब्रांच में पुल कर सकते हैं।

पाथ पैरामीटर

agent_idstringआवश्यक

एजेंट की id। यह एजेंट बनाते समय लौटाई जाती है।

branch_idstringआवश्यक

जिस source branch से मर्ज करना है, उसका विशिष्ट पहचानकर्ता।

हेडर

xi-api-keystringवैकल्पिक

क्वेरी पैरामीटर

source_branch_idstring or nullवैकल्पिक

जिस ब्रांच से बदलाव पुल करने हैं, उसकी ID। डिफ़ॉल्ट रूप से एजेंट की main ब्रांच होती है।

अनुरोध

This endpoint expects an object.
conflict_resolutionslist of objects or nullवैकल्पिक

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.

branch_tip_idstring or nullवैकल्पिक

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.

source_tip_idstring or nullवैकल्पिक

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.

रिस्पॉन्स

सफल रिस्पॉन्स

त्रुटियाँ

422
Unprocessable Entity Error