Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created April 10, 2014 19:44
Show Gist options
  • Select an option

  • Save Raynos/10416135 to your computer and use it in GitHub Desktop.

Select an option

Save Raynos/10416135 to your computer and use it in GitHub Desktop.
cd ./{{project}}
git init
git add .
git commit -m 'initial commit'
git remote add origin {{uri}}:{{user}}/{{project}}
if hash hub 2>/dev/null; then
hub create {{user}}/{{project}}
fi
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment