Mathieu Chouquet-Stringer <ml2news@free.fr> writes: > I can do a: GIT_DIR=. git fetch and it works. That is the right way of doing it. > The second question is I'd think I would have to use git fetch instead of > git pull as a pull is fetch + merge and merging wouldn't make much sense as > I didn't check out any files. Does it make any sense? Absolutely. Bare repositories are either to be pushed into or fetched into. > The third thing (can't reproduce ATM as I just got a fresh new clone) is > that git fetch was just fetching over and over the same objects... It sounds like you are not telling fetch to update the refs you track from outside. Perhaps, this may help (untested): $ GIT_DIR=/pub/scm/git/git.git git fetch \ --update-head-ok $remote master:master - 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.htmlReceived on Thu Jan 26 23:22:51 2006
This archive was generated by hypermail 2.1.8 : 2006-01-26 23:23:00 EST