git - diff of current changes before committing
问题 I have changed several files in a git repository, but have not committed them yet. I can get a list of the changes by just invoking git status . But how do I get a listing of the lines or the content that I have changed, in addition to the filenames? I initially thought about using git diff, but it seems to be useful only for comparing already commited changes. Usually I just do meld . , but on this case I'm connected to an external server via ssh. 回答1: git diff by default shows difference