Skip to content

Commit

Permalink
Fixes #74 - pull from resource's branch, which is not always master
Browse files Browse the repository at this point in the history
  • Loading branch information
jfischer committed Nov 7, 2020
1 parent c861168 commit 32d1fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataworkspaces/resources/git_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def pull(self):
"""Pull from remote origin, if any"""
switch_git_branch_if_needed(self.local_path, self.branch, self.workspace.verbose)
call_subprocess(
[GIT_EXE_PATH, "pull", "origin", "master"],
[GIT_EXE_PATH, "pull", "origin", self.branch],
cwd=self.local_path,
verbose=self.workspace.verbose,
)
Expand Down

0 comments on commit 32d1fa4

Please sign in to comment.