Skip to content

Instantly share code, notes, and snippets.

@matthewpennell
Forked from masugadesign/snippet.sh
Created June 21, 2009 17:31
Show Gist options
  • Save matthewpennell/133571 to your computer and use it in GitHub Desktop.
Save matthewpennell/133571 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 [email protected]:"$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