Re: Question on git fetch to bare repo
- From
Jeff King <peff@peff.net>
- Date
- Feb 13, 2007, 05:31 UTC
- Message-ID
- <20070213053103.GA3795@coredump.intra.peff.net>
- In-Reply-To
- <7vejou39ud.fsf@assigned-by-dhcp.cox.net>
On Mon, Feb 12, 2007 at 09:28:10PM -0800, Junio C Hamano wrote:
Show 7 quoted lines
> One solution would be to list only the new commits introduced by > the push into the repository, regardless of the branch. You can > replace the "git-shortlog $old..$new" with: > > git shortlog $new --not --all > > to get that information, I think.
I don't think that addresses his concern. I had suggested to him that he do all pulling/merging in his private repo, then simply keep the public repo as a mirror. In that case, when pushing out to the public repo, _all_ commits will likely be new to the public repo, including those ones that he pulled from elsewhere.
-Peff