Re: Git vs svn. Is ... possible ?
- From
- Adam Piatyszek <ediap@users.sourceforge.net>
- Date
- Mar 28, 2008, 13:36 UTC
- Message-ID
- <47ECF459.2040500@users.sourceforge.net>
- In-Reply-To
- <20080328132438.GA32646@blackspire>
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 .:................................:.