Skip to content

Instantly share code, notes, and snippets.

View rapheld's full-sized avatar

Nathan Rapheld rapheld

  • Zendesk
  • San Francisco, CA
View GitHub Profile
@rapheld
rapheld / gist:4039922
Created November 8, 2012 16:36
git & github goodness
git co - (switching back and forth between the last branch and current branch)
emoji-cheat-sheet.com
https://github.com/staugaard/ember-resource/compare/master@{yesterday}...master (e.g. 2012-02-25, 1.day.ago...)
git branch --merged or --no-mreged (shows branches that have been merged/not merged into the current branch
git branch --contains SHA
git co <branch> -- path/to/file (copies only that one file into the current branch)
git log branchA ^branchB (commits that are in A, but not in B