Skip to content

Instantly share code, notes, and snippets.

@timkelty
Created June 19, 2009 15:58
Show Gist options
  • Save timkelty/132697 to your computer and use it in GitHub Desktop.
Save timkelty/132697 to your computer and use it in GitHub Desktop.
# !/bin/bash
# Set up an new github repository
GITHUB_USERNAME="timkelty"
# from github instructions page after creating a repo
mkdir "$1"
cd "$1"
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:"$GITHUB_USERNAME"/"$1".git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment