Does a `git pull' write to the origin repository in any way?
- Date: Wed, 22 Oct 2008 20:00:11 +1100
- From: "Brett Ryan" <brett.ryan@xxxxxxxxx>
- Subject: Does a `git pull' write to the origin repository in any way?
Greetings, the reason I ask this question is because my pattern of
development is to create local source git repositories on my home
directory, then pull them to the central location. I found myself
getting the error `unable to create temporary sha1 filename
.git/objects/11: File exists' which after investigation found that
there were paths in `.git/objects/' owned by root which is who I use
to do the pull from my home directory using sudo. `git log' shows all
commits as me.
Typical dev cycle.
cd ~/src/appl_bin
# make mods
git commit -a
cd $DEST
sudo git pull ~/src/appl_bin linux_test
Thankyou
-Brett
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html