Created
November 8, 2012 16:36
-
-
Save rapheld/4039922 to your computer and use it in GitHub Desktop.
git & github goodness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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