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 ef4924e commit f915488Copy full SHA for f915488
hooks/pre-push
@@ -1,6 +1,7 @@
1
#!/bin/sh -e
2
3
-git pull --rebase
+# On a feature branch that has no remote yet, this first part would fail.
4
+git pull --rebase || git pull --rebase origin master
5
6
# Prevent push on failed Jekyll build.
7
make build
0 commit comments