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.



test -z $repo_name && echo “Repo name required.” 1>&2 && exit 1

curl -u ‘your_github_username’ -d “{\”name\”:\”$repo_name\”}”

Now simply execute the shell script.  You may need to run this line first.  

chmod +x git-create

Then run the script by going to the folder that contains the shell script file and typing this in.  Here’s an example.

sh Name of app.

Check out this post here for more information.

This post is mainly here for myself so that I don’t forget this.

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

Hello world!

Welcome to This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment