Re: history missing
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 8, 2010, 13:29 UTC
- Message-ID
- <m3mxpkeyh4.fsf@localhost.localdomain>
- In-Reply-To
- <AANLkTi=rT0S1H8pFt9d+FYVme4fjNNzY6O6evuBwo-ZB@mail.gmail.com>
Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> writes:
Show 6 quoted lines
> On Mon, Nov 8, 2010 at 4:02 AM, Jonathan Nieder <jrnieder@gmail.com> wrote: >> Vitaliy Semochkin wrote: >> >>> I cloned a remote repository >>> to check recent changes in origin/master I do: >>> git fetch origin master
This fetches into FETCH_HEAD _only_ from "origin" *remote*.
>>> git log origin master
This show log of 'origin/HEAD', which probably is 'origin/master'... but which didn't get updated, and local branch 'master'.
Show 8 quoted lines
>>> >>> recently I found out that log doesn't show recent commits >> >> Yes, this can be confusing. > > I agree and I believe this has come up a lot of times before. I talked > to Jeff and Junio about this at GitTogether and Jeff said he has a patch > for it that he would try to get up to date in a while. (Thanks, Jeff!)
How can this issue be solved? The meaning of parameters in 'git fetch' is different from meaning of parameters in 'git log'.
Unless it is about adding hint / advice for when doing 'git fetch <remote> <branch>'...
-- Jakub Narebski Poland ShadeHawk on #git