Skip to content

Instantly share code, notes, and snippets.

@rapheld
Created November 8, 2012 16:36
Show Gist options
  • Save rapheld/4039922 to your computer and use it in GitHub Desktop.
Save rapheld/4039922 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment