Hi, On Fri, 18 Jan 2008, Ian Brown wrote:To simplify, you can git remote add origin git://<...> so you can call "git pull" and it will do the same. These are merge conflicts. Git thinks you have changed something. Now, this might be true, but it also might be the case that the tree you are pulling was rebased, i.e. rewound to a certain point in commit history, and committed to _differently_. As a consequence, your state _before_ pulling looks as if _you_ changed something. Since these changes are different than the now-current changes, but touch the same code, they produce conflicts. You might be lucky with "git pull --rebase" (needs a pretty recent git), but if you are just tracking a certain tree and not committing yourself, I suggest something like this: git fetch origin && git reset --hard origin/master Of course, you _really_ have to make sure that you have no local changes of your own with this reset call, since it will just undo them (without saving them first). If you _do_ have local changes, you might want to do a "git stash" before the reset, and a "git stash apply" after it (again, needs a pretty recent git). Hth, Dscho - 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
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | [patch 00/73] 2.6.23-stable review |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
