We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060e64c commit 19ae093Copy full SHA for 19ae093
pkg/cli/cmd/push.go
@@ -40,9 +40,15 @@ var pushCmd = &cobra.Command{
40
currentBranch = cb
41
}
42
43
+ err = g.Stash()
44
+ util.CheckForError(err, "Stash")
45
+
46
err = g.Checkout(currentBranch)
47
util.CheckForError(err, "Checkout")
48
49
+ err = g.StashPop()
50
+ util.CheckForError(err, "StashPop")
51
52
if pushCmdOptions.AddAll {
53
err = g.AddAll()
54
util.CheckForError(err, "AddAll")
0 commit comments