Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@PIYUSH-MISHRA-00
Copy link

No description provided.

echo
echo "Enter the repository https url: "
read clone_url
git clone $echo $clone_url;;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double quotes would be preferred to prevent globbing/word splitting, like so: git clone "$echo" "$clone_url";;

3) echo "Pushing to GitHub"
declare -A map

map[$echo"$local_repo"] = $echo"$remote"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove spaces around = to assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants