Git diff a file with another revision (or branch)

Updated . Posted . Visible to the public.
git diff commit_hash -- path/to/file

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

Arne Hartherz
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2010-11-11 09:40)