Re: compare log of two different repos

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

 



Sri venit, vidit, dixit 30.03.2011 21:49:
> Hi
> This is my scenario:
> -  Server has 2 different repos say x & y
> - I created a branch out of x ( say xx) and a branch out of y (say yy)
> - Now I made changes to xx/folder1/file1- change 1and commit it ;then I made
> changes to to yy/folder1/file1 -change 1 and yy/folder1/file 1 -change 2 and
> commit it ( Folder 1,file 1, change 1 are same in both xx and yy)
> - Now I want the log of unique commits between both branches ( which will be
> change 2 commit in yy)
> 
> How do I get this using GIT? Right now am doing it manually which is very
> tedious...

You could add one as a "remote" to the other, or both as remotes to a
new repo, and then use

git log --cherry-mark xx...yy

or "--cherry-pick" or the "cherry" command.

Michael
--
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]