Function findBaseBranch

  • Automatically tries to find a branch which looks like it's the base branch for the given startingRef.

    Parameters

    • git: Readonly<SimpleGit>
    • startingRef: string

    Returns Promise<string>