Last active
February 16, 2019 06:59
-
-
Save micheam/4cd4f27266cf135af60d13b2b567ea9b to your computer and use it in GitHub Desktop.
create new github repository via github/hub.
This file contains hidden or 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
repo_name=something-new | |
cd `ghq root`/github.com/MichEam | |
mkdir $repo_name | |
cd $repo_name | |
git init | |
echo "# $repo_name" > README.md | |
git add . && git commit -m "init commit" | |
hub create -p "$repo_name" | |
git push --set-upstream origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment