Method: Geet::Utils::GitClient#remote_components

Defined in:
lib/geet/utils/git_client.rb

#remote_components(name: nil) ⇒ Object

Return the components of the remote, according to REMOTE_URL_REGEX; doesn’t include the full match.



144
145
146
# File 'lib/geet/utils/git_client.rb', line 144

def remote_components(name: nil)
  remote.match(REMOTE_URL_REGEX)[1..]
end