Skip to content

Commit

Permalink
fix(cmd): fixed bug in sn command
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj Nandan Sharma authored and Raj Nandan Sharma committed Apr 8, 2024
1 parent 849664e commit 545a77b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cmd/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 545a77b

Please sign in to comment.