Created
February 19, 2012 11:27
-
-
Save tarnfeld/1863262 to your computer and use it in GitHub Desktop.
Diff a remote branch against a local branch
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
# Fetch from the remote | |
git fetch {remote} | |
# List remote branches | |
git branch -r | |
# Find the branch labeled {remote}/branchname you want to diff | |
# Diff it | |
git diff {remote}/branch . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment