Assuming your remote is "origin" and you want to compare to it's branch
"master"....
> git fetch origin
git diff origin/master
This will compare your working copy (which may not be committed yet) to the
master branch you just fetched from origin. Check out the man page for
git-diff, there's lots of other ways you can use it, if you just want to see
what a commit changed for instance.
Tekkub
GitHub General Support
http://support.github.com/
Join us on IRC: #github on freenode.net
Discussion group: [email protected]
On Wed, Mar 18, 2009 at 1:48 PM, gwgeller <[email protected]>wrote:
>
> Hello,
> I bounce back and forth between ROR/Git and ASP/Dreamweaver.
> Dreamweaver has a feature that let's you compare your local copy to
> what is on the server. It is very handy to make sure you didn't forget
> to remove some debugging code you added a week ago. My question is if
> there is a way to compare my local copy of a file to what is in the
> repository on the server.
> Thanks,
> GG
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---