git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: compare log of two different repos

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 31, 2011, 19:34 UTC
Message-ID
<m3r59n3x0d.fsf@localhost.localdomain>
In-Reply-To
<1301514556812-6224714.post@n2.nabble.com>
Sri <nkf364@motorola.com> writes:
Show 12 quoted lines
> 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
Previous: Michael J GruberNext: Michael J Gruber
Message 3 of 4 in “compare log of two different repos”
  1. SriMar 30, 2011
  2. Michael J GruberMar 31, 2011
  3. Jakub NarebskiMar 31, 2011
  4. Michael J GruberMar 31, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.