diff --git a/cmd/root.go b/cmd/root.go index bfa4688..219a959 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,7 +17,7 @@ var rootCmd = &cobra.Command{ // Uncomment the following line if your bare application // has an action associated with it: // Run: func(cmd *cobra.Command, args []string) { }, - Version: "1.0.6", + Version: "1.0.7", } // Execute adds all child commands to the root command and sets flags appropriately. diff --git a/cmd/sync.go b/cmd/sync.go index 2d4512a..43bb5d3 100644 --- a/cmd/sync.go +++ b/cmd/sync.go @@ -82,7 +82,7 @@ var syncCmd = &cobra.Command{ //now pull changes from remote color.Yellow("Pulling the branch %s", toBranch) - gitPull.Arguments = []string{"pull", toBranch} + gitPull.Arguments = []string{"pull", "origin", toBranch} xmd = exec.Command(gitPull.Name, gitPull.Arguments...) xmd.Stdout = os.Stdout xmd.Stderr = os.Stderr