fix indentation

Signed-off-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-08-30 13:44:27 +02:00
parent 4d6d9b620d
commit 7c196c4427

View file

@ -141,8 +141,8 @@ Options:
Author: Author:
michael.grote@posteo.de - git.mgrote.net michael.grote@posteo.de - git.mgrote.net
EOF EOF
;; ;;
--new-branch | -b) --new-branch | -b)
(git checkout --quiet -b "$2" && git push --set-upstream "$(git remote | head -n 1)" "$2" && echo '>>> Create new branch "'"$2"'"') || (git checkout --quiet -b "$2" && git push --set-upstream "$(git remote | head -n 1)" "$2" && echo '>>> Create new branch "'"$2"'"') ||
(git checkout --quiet "$2" > /dev/null 2>&1 && echo '>>> Branch already exists, checking out... ') (git checkout --quiet "$2" > /dev/null 2>&1 && echo '>>> Branch already exists, checking out... ')
;; ;;