Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPT-commit: Refined wix-cli.sh: modified functions and classes. #16

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion wix-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,13 @@ elif [ "$1" = "pull" ]; then
fi

elif [ "$1" = "mpull" ]; then
pull "master"
if [ `git branch --list master` ]; then
pull "master"
elif [ `git branch --list main` ]; then
pull "main"
else
warn_text "No master or main branch found..."
fi

elif [ "$1" = "repo" ]; then
info_text "Redirecting to $repo_url..."
Expand Down