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

Setup script typos #498

Merged
merged 1 commit into from
Jul 17, 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: 4 additions & 4 deletions setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "OWNER and REPO refer to the details of your manuscript repo location:"
echo "i.e. https://github.com/OWNER/REPO."
echo
echo "Options:"
echo " -o --owner GitHub user or organisation name."
echo " -o --owner GitHub user or organization name."
echo " -r --repo Name of the repository for your new manuscript."
echo " -y --yes Non-interactive mode. Continue script without asking for confirmation that the repo exists."
echo " -s --ssh Use SSH to authenticate GitHub account. HTTPS is used by default."
Expand Down Expand Up @@ -104,7 +104,7 @@ if [ -z "${OWNER}" ] || [ -z "${REPO}" ]; then
echo "First, we need to specify where to create the GitHub repo for your manuscript."
echo
echo "The URL will take this format: https://github.com/OWNER/REPO."
echo "OWNER is your username or organisation"
echo "OWNER is your username or organization"
echo "REPO is the name of your repository"
echo
read -r -p "Type in the OWNER now:" input
Expand Down Expand Up @@ -188,13 +188,13 @@ fi
case $AUTH in
0)
echo
echo "Seting origin URL using its https web address"
echo "Setting origin URL using its https web address"
echo
git remote set-url origin https://github.com/${OWNER}/${REPO}.git
;;
1)
echo
echo "Seting origin URL using SSH"
echo "Setting origin URL using SSH"
echo
git remote set-url origin [email protected]:$OWNER/$REPO.git
;;
Expand Down