Skip to content

Instantly share code, notes, and snippets.

@TomScotch
Created September 26, 2016 23:25
Show Gist options
  • Select an option

  • Save TomScotch/c787c9f7736ee4a60238392b59bd452e to your computer and use it in GitHub Desktop.

Select an option

Save TomScotch/c787c9f7736ee4a60238392b59bd452e to your computer and use it in GitHub Desktop.
create repo and push local
curl -u 'tomscotch' https://api.github.com/user/repos -d '{"name":"projectname",$ARGV[1]:"atomatically generated"}'
git remote add origin tomscotch@github.com:tomscotch/$ARGV[1].git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment