From 58b901cd85793de2f13174c0444aed28d7629361 Mon Sep 17 00:00:00 2001 From: Mayel de Borniol Date: Sat, 24 Feb 2024 19:13:02 +0000 Subject: [PATCH] typo --- git-publish.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-publish.sh b/git-publish.sh index e3a2de5a4b..7e5f7c94c7 100755 --- a/git-publish.sh +++ b/git-publish.sh @@ -1,7 +1,7 @@ #!/bin/bash DIR="${1:-$PWD}" -function maye_rebase { +function maybe_rebase { if [[ $1 == 'pull' ]] then git pull --rebase || fail "Please resolve conflicts before continuing." @@ -48,7 +48,7 @@ then # fi # merge/rebase local changes - maye_rebase $2 + maybe_rebase $2 if [[ $3 != 'only' ]] then @@ -59,5 +59,5 @@ else set -e echo "No local changes to push" - maye_rebase $2 + maybe_rebase $2 fi