git: check diff between local working copy and remote working copy -


we have copy on files archaic live server reasons can't control need see diff of remote working copy compared local working copy (which @ different base).

what command lines this? i've tried several things , either hang or don't give output need.

a commit defines whole contents of working copy. if both sides checked out same commit show same contents. (unless did manual changes afterwards.)

if both sides cloned same (central) repository, use different commits of (say first_hash , second_hash), can use git fetch got commits of repository , git diff first_hash second_hash see differences between both versions.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -