You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ if [ $setup ]; then
78
78
fi
79
79
80
80
if! git diff --exit-code --quiet --cached;then
81
-
echo Aborting due to uncommitted changes in the index
81
+
echo Aborting due to uncommitted changes in the index>&2
82
82
exit 1
83
83
fi
84
84
@@ -110,7 +110,7 @@ case $diff in
110
110
enable_expanded_output
111
111
;;
112
112
*)
113
-
echo git diff exited with code $diff. Aborting.
113
+
echo git diff exited with code $diff. Aborting. Staying on branch $deploy_branch so you can debug. To switch back to master, use: git symbolic-ref HEAD refs/heads/master && git reset --mixed >&2
0 commit comments