get_upstream


Description:

public Ref? get_upstream () throws Error

Gets the reference supporting the remote tracking branch, given a local branch reference.

Parameters:

this

a Branch.

Returns:

the reference supporting the remote tracking branch or null.