Tag Archives: remote repository

Creating a Remote GitHub repository from Command Line

This is very simple, but a great tool to use. Just create a shell script with this content. #!/bin/sh repo_name=$1 test -z $repo_name && echo “Repo name required.” 1>&2 && exit 1 curl -u ‘your_github_username’ https://api.github.com/user/repos -d “{\”name\”:\”$repo_name\”}” Now simply … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment