diff --git a/bin/git-force-clone b/bin/git-force-clone index 828dea6..7096df6 100755 --- a/bin/git-force-clone +++ b/bin/git-force-clone @@ -75,7 +75,7 @@ main() { # Set default branch if [ -z "${branch:-}" ]; then - branch=`git remote show origin | grep -oP '(?<=HEAD branch: )[^ ]+$'` + branch=`LC_ALL=C git remote show origin | grep -oP '(?<=HEAD branch: )[^ ]+$'` git remote set-head origin ${branch} else git remote set-head origin -a