Use @{upstream} magic value to reference remote branch

parent 22088def
......@@ -212,5 +212,4 @@ class Recipe(object):
if self.revision:
self.gitReset(self.revision)
else:
self.gitReset('%s/%s' % (
GIT_DEFAULT_REMOTE_NAME, self.branch))
self.gitReset('@{upstream}')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment