Home ›
Checking the difference between a file modified locally and the repository with gitChecking the difference between a file modified locally and the repository with git
Submitted by Benjamin Melançon on July 10, 2009 - 3:56pm
[done this before, never made a note of it]
git see difference between current and repository file
git diff
It's really that easy.
Additions in your local working copy are represented by + signs, subtractions by your local working copy are each preceded by a - sign.
http://media.pragprog.com/titles/tsgit/chap-005-extract.html