From: Jakub Narebski <jnareb@gmail.com>
To: Sri <nkf364@motorola.com>
Cc: git@vger.kernel.org
Subject: Re: compare log of two different repos
Date: Thu, 31 Mar 2011 12:34:32 -0700 (PDT) [thread overview]
Message-ID: <m3r59n3x0d.fsf@localhost.localdomain> (raw)
In-Reply-To: <1301514556812-6224714.post@n2.nabble.com>
Sri <nkf364@motorola.com> writes:
> 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...
Besides adding one repository as remote in other repository, using
"git remote add", you might also use the trick described here:
https://git.wiki.kernel.org/index.php/GitTips#How_to_compare_two_local_repositories
--
Jakub Narebski
Poland
ShadeHawk on #git
prev parent reply other threads:[~2011-03-31 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 19:49 compare log of two different repos Sri
2011-03-31 6:05 ` Michael J Gruber
[not found] ` <AANLkTimKLx--DeWdaunm5cGEax6=xQ8XV_YMOFSPPJ9K@mail.gmail.com>
2011-03-31 16:14 ` Michael J Gruber
2011-03-31 19:34 ` Jakub Narebski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r59n3x0d.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=nkf364@motorola.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox