From: "Brett Ryan" <brett.ryan@gmail.com>
To: git@vger.kernel.org
Subject: Does a `git pull' write to the origin repository in any way?
Date: Wed, 22 Oct 2008 20:00:11 +1100 [thread overview]
Message-ID: <a65d095e0810220200q42936427o917cdac067d04135@mail.gmail.com> (raw)
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
next reply other threads:[~2008-10-22 9:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 9:00 Brett Ryan [this message]
2008-10-22 13:25 ` Does a `git pull' write to the origin repository in any way? Marc Weber
2008-10-22 14:27 ` Brett Ryan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a65d095e0810220200q42936427o917cdac067d04135@mail.gmail.com \
--to=brett.ryan@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).