Function getParentBranch

  • Attempts to determine the parent branch of the current branch using git show-branch.

    Parameters

    • cwd: string

    Returns string | null

    The parent branch name if found, null otherwise

    Deprecated

    Does not appear to be used