Skip to content

Commit affa94e

Browse files
committed
Don't automatically switch back during publish
1 parent 928a262 commit affa94e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

publish.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ git commit -m "Publish GitHub pages, based on $rev"
2828
# Publish GH pages
2929
git push origin gh-pages -f
3030

31-
# Go back to previous branch
32-
git checkout $branch -f
31+
echo Use 'git checkout $branch -f' to change back to the previous branch.

0 commit comments

Comments
 (0)