Method: BuildTool::VCS::GitConfiguration#track_branch

Defined in:
lib/build-tool/vcs/git.rb

#track_branchString

The branch part of #remote

See Also:



197
198
199
200
201
202
203
# File 'lib/build-tool/vcs/git.rb', line 197

def track_branch
    rc = track.split('/')
    # If there is only one string we assume it is the branch name from
    # origin
    return rc[0] if rc.length == 1
    return rc[1..-1].join( '/' )
end