Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I have a project localy, and the same project is also online on a FTP, but someone made some modifications online on the FTP on a css file, how do I see which modification he made?

I copy the files from the FTP to my local project, like overwrite them and than do a git diff?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You don't need to overwrite anything – if all you need is the diff output, use git diff this way:

git diff original.css modified.css

It works exactly like the traditional diff tool:

diff -u original.css modified.css
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.