Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Last active November 19, 2015 12:29
Show Gist options
  • Select an option

  • Save dannysmith/f440a8aca588b828c169 to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/f440a8aca588b828c169 to your computer and use it in GitHub Desktop.
New Progect commands
mkdir my_project
cd my_project
touch README.md Gemfile
echo "# This is My Project" > README.md
echo "source 'https://rubygems.org\nruby'2.1.1'\n\ngem 'rspec'" > Gemfile
mkdir spec
touch spec/spec_helper.rb
echo "require 'rspec'" > spec/spec_helper.rb
bundle install
git init
git add .
git commit -m "Initial Commit"
hub create
git push -u origin master
hub browse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment