Skip to content

Commit

Permalink
Speficify remote branch in git-plan when pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
emilingerslev committed Mar 27, 2019
1 parent d62f69a commit 8f58f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/main.go
Expand Up @@ -106,7 +106,7 @@ func GetGitPlan(plan string, localShuttleDirectoryPath string, uii ui.UI, skipGi
status := getStatus(planPath)
if !status.isDetached {
uii.Infoln("Pulling latest plan changes on %v", parsedGitPlan.head)
gitCmd("pull origin", planPath, uii)
gitCmd(fmt.Sprintf("pull origin %v", parsedGitPlan.head), planPath, uii)
status = getStatus(planPath)
} else {
uii.EmphasizeInfoln("Skipping plan pull because its running on detached head")
Expand Down

0 comments on commit 8f58f27

Please sign in to comment.