Re: Git vs svn. Is ... possible ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx  .:................................:.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux