Skip to content

Instantly share code, notes, and snippets.

@masugadesign
Forked from timkelty/snippet.sh
Created June 19, 2009 19:55
Show Gist options
  • Save masugadesign/132858 to your computer and use it in GitHub Desktop.
Save masugadesign/132858 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