Skip to content

Instantly share code, notes, and snippets.

@stevekinney
Created September 5, 2014 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevekinney/1700b245c71dd5188686 to your computer and use it in GitHub Desktop.
Save stevekinney/1700b245c71dd5188686 to your computer and use it in GitHub Desktop.

Environment Setup

  • Homebrew
    • OS X Command Line Development Tools
  • Git brew install git
  • RVM
  • Ruby (via RVM)
  • Atom
  • Seeing is Believing
  • Pry
  • iTerm

Terminal

  • Basic commands
    • cd
    • ls, ls -a, ls -l
    • touch
    • mkdir
    • rm, rm -rf
    • pwd
    • atom
    • ruby
  • dotfiles (code along)
    • .gitconfig
    • .bash_profile
    • .pryrc
  • Configure iTerm
    • Change size of text independent of screen size
    • Set option to +Escape

Git Fundementals

  • Basic Commands
    • git init
    • git add ., git add -A, git add [filename]
    • git commit -m
    • .gitignore
    • git push
    • git remote
    • git merge, git merge --abort
      • Merge with a conflict
    • git reset, git reset --hard
  • Tags, branches, and the difference between the two
  • Do
    • Commit early, commit often
    • Get over your fear of a shitty git history
    • Commit message style (short, sweet, and present tense)
  • Don't
    • Don't change branches when your working directory is dirty
    • Don't pull when your working directory is dirty
    • Modify your git config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment