On Mon, Aug 27, 2007 at 03:43:47PM -0400, Kyle Rose wrote:I think I tried to cover most of this in the user-manual (http://www.kernel.org/pub/software/scm/git/docs/user-manual.html has the latest version, or it's in Documentation/) but some of it may be harder to find than it should be. Git caches the value of the remote's "master" in refs/remotes/origin/master. That's the thing that's getting updated; you can actually cat .git/refs/remotes/origin/master before and after you'll see that it got updated from 7cf088c to d344498. I think newer versions of git actually update that "remote-tracking branch head" on the push as well, which would prevent you from getting the message since by the time of the pull that thing will already have been updated. git checkout some_revision path/to/filename I don't know p4, but maybe you're looking for git show some_revision:foo The latter should forcibly reset the branch head "foo" to point at the same commit as "master". The former tries to do a merge between the two. In the case where master is a descendant of foo (so there's no commits in foo that isn't already in master), the two should do the same thing. Maybe you want "man git-remote"? Or see "git-config" for more general configuration. But editing .git/config file directly is often simplest, and won't cause any problem. --b. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Dave Hansen | Re: [RFC/PATCH] Documentation of kernel messages |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Corey Minyard | [PATCH 3/3] Convert the UDP hash lock to RCU |
| Tomas Winkler | [PATCH] iwlwifi: RS small compile warnings without CONFIG_IWLWIFI_DEBUG |
