current work complete

This commit is contained in:
akilan
2020-05-14 12:10:15 +04:00
parent 2fca76e753
commit b4f9978b36
751 changed files with 233459 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/sh
reponame="$1"
GITHUBUSER=$(git config github.user)
if [ "$reponame" = "" ]; then
read -p "Enter Github Repository Name: " reponame
fi
mkdir ./$reponame
cd $reponame
curl -u $2:$3 https://api.github.com/user/repos -d "{\"name\":\"$reponame\"}"
git init
echo "ADD README CONTENT" > README.md
git add README.md
git commit -m "Starting Out"
git remote add origin git@github.com:$2/$reponame.git
git push -u origin master