Posted about 7 years ago. Visible to the public.

Git diff a file with another revision (or branch)

Copy
git diff commit_hash -- path/to/file

Provide any commit hashes or branch names like "master" for commit_hash.

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Author of this card:

Avatar
Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandropedia