Method: BuildTool::VCS::GitConfiguration#track_remote
- Defined in:
- lib/build-tool/vcs/git.rb
#track_remote ⇒ String
The remote part of #remote.
186 187 188 189 190 191 192 |
# File 'lib/build-tool/vcs/git.rb', line 186 def track_remote rc = track.split('/') # If there is only one string we assume it is the branch name from # origin return "origin" if rc.length == 1 return rc[0] end |