-
-
Save ahmadbilaldev/c694dbb57ff3495d98435e063e978b70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=$1 | |
DSC=$2 | |
TYPE=$3 | |
echo "Creating Repository" | |
gh re --new "$NAME" --description "$DSC" --type "$TYPE" | |
gh re --clone --repo "$NAME" | |
cd "$NAME" | |
echo "# $NAME" >> README.md | |
echo "< $DSC" >> README.md | |
git add . | |
git commit -m "📦 NEW: First Commit" | |
git push | |
echo '' | |
echo "✅ Done: https:github.com/AhmadBilalDev/$NAME" | |
echo '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment