Skip to content

Instantly share code, notes, and snippets.

@startupstella
startupstella / pulling-and-pushing-to-git.md
Created June 14, 2012 21:52 — forked from jtallant/pulling-and-pushing-to-git.md
Basic Unix + Pulling and Pushing to Git

UNIX Commands

pwd present working directory

ls list current directory contents

ls -la list current directory contents in long format and show hidden files

man <some unix command> Bring up the manual pages for a command. Type q to exit

@startupstella
startupstella / rails_github_heroku.md
Created April 28, 2012 16:26 — forked from JennDudley/rails_github_heroku.md
Steps to set up a new Rails app, initialize a git repo, push to Github and deploy to Heroku

This is a list of steps to:

  • Setup a new Rails app
  • Initialize a local repository using git
  • Create a new remote repository using GitHub
  • Change README.rdoc
  • Deploy to a cloud service - Heroku

Assumptions:

  • Ruby is installed (v 1.9.3)
  • Rails is installed (v 3.2.3)