// Merges two branches using the fast-forward merge strategy.
Merges two branches using the fast-forward merge strategy.
// Merges two branches using the fast - forward merge strategy .
func (c *Client) MergeBranchesByFastForward(ctx context.Context, params *MergeBranchesByFastForwardInput, optFns ...func(*Options)) (*MergeBranchesByFastForwardOutput, error) {
	if params == nil {
		params = &MergeBranchesByFastForwardInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "MergeBranchesByFastForward", params, optFns, addOperationMergeBranchesByFastForwardMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*MergeBranchesByFastForwardOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) MergeBranchesByFastForward ( ctx context . Context , params * MergeBranchesByFastForwardInput , optFns ... func ( * Options ) ) ( * MergeBranchesByFastForwardOutput , error ) { if params == nil { params = & MergeBranchesByFastForwardInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationMergeBranchesByFastForwardMiddlewares ) if err != nil { return nil , err } out := result . ( * MergeBranchesByFastForwardOutput ) out . ResultMetadata = metadata return out , nil }
Merges two branches using the fast-forward merge strategy.
Merges two branches using the fast - forward merge strategy .