Skip to content

Commit 545a77b

Browse files
Raj Nandan SharmaRaj Nandan Sharma
Raj Nandan Sharma
authored and
Raj Nandan Sharma
committed
fix(cmd): fixed bug in sn command
1 parent 849664e commit 545a77b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var rootCmd = &cobra.Command{
1717
// Uncomment the following line if your bare application
1818
// has an action associated with it:
1919
// Run: func(cmd *cobra.Command, args []string) { },
20-
Version: "1.0.6",
20+
Version: "1.0.7",
2121
}
2222

2323
// Execute adds all child commands to the root command and sets flags appropriately.

cmd/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var syncCmd = &cobra.Command{
8282

8383
//now pull changes from remote
8484
color.Yellow("Pulling the branch %s", toBranch)
85-
gitPull.Arguments = []string{"pull", toBranch}
85+
gitPull.Arguments = []string{"pull", "origin", toBranch}
8686
xmd = exec.Command(gitPull.Name, gitPull.Arguments...)
8787
xmd.Stdout = os.Stdout
8888
xmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)