setParentBranchName method
Use this method to set the parent branch from which newly created branches get their initial baseline.
Syntax
let configval = config.setParentBranchName(parentBranchName);
config.parentBranchName = configval;
configval = config.parentBranchName;
Note that this feature is available as both a method and a property.
Parameters
- parentBranchName
- Type:string
- The parent branch name to be configured.
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.