Re: Git vs svn. Is ... possible ?
From: Adam Piatyszek <hidden>
Date: 2016-06-15 22:44:26
Hi Rafał, * Rafa? Mu?y?o [28 III 2008 14:24]:
Well, the actual question is: In svn I can do a remote diff (diff between two remote revisions) without having to do a checkout, is this possible for git ?
The question makes no sense to me. Git by design is a distributed SCM tool, so there is no such thing like "remote revisions". You can have tracking branches (clones) of some remote repositories, but all the commits on such branches are also stored locally. So you have full access to them, even without a permanent connection to such remote repositories. And answering to the second part of your question: Yes, you can do "git diff" operation between any of the commits in the repository you are working with. No need to checkout before. You can perform "git diff" even on a bare repository without the working three. Please refer to "man git-diff" for more info. BR, /Adam PS. The encoding you used for your message is not playing well with the Polish accented characters in your name ;) -- .:. Adam Piatyszek (ediap) .:.....................................:. .:. ediap@users.sourceforge.net .:................................:.