Lines Matching refs:remote
34 """Returns the current upstream remote name."""
40 # Then get the remote associated with this branch.
41 cmd = ['git', 'config', 'branch.%s.remote' % branch]
62 # If remote is not fully qualified, add an implicit namespace.
65 cmd = ['git', 'config', cfg_option % 'remote']
67 remote = result.output.strip()
68 if not remote or not full_upstream:
71 return full_upstream.replace('heads', 'remotes/' + remote)
81 def get_remote_revision(ref, remote):
82 """Returns the remote revision for this ref."""
83 prefix = 'refs/remotes/%s/' % remote