Skip to content

Instantly share code, notes, and snippets.

@masugadesign
Forked from timkelty/snippet.sh
Created June 19, 2009 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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 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