scripts/github-init-repo

13 lines
210 B
Plaintext
Raw Normal View History

2019-11-17 03:58:29 +00:00
#!/bin/bash
ORG=$1
REPO=$2
mkdir $REPO
pushd $REPO
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/$ORG/$REPO.git
git push -u origin master
popd