git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Update a bare repository
@ 2007-07-17  6:30 Thomas Glanzmann
  2007-07-17  7:04 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Glanzmann @ 2007-07-17  6:30 UTC (permalink / raw)
  To: GIT

Hello,
what I would like to do is the following:

I have a _bare_ clone of a git repository and would like to update it
from Junios repository at kernel.org from time to time.

How do I do that? In a way that it is a fire and forget solution? It
should also fetch new upstream branches.

"git pull" does not work. "git fetch" does, but it does update all
references?

	(faui02) [~/work/repositories/mirror/git.git] git pull
	fatal: /usr/bin/git-pull cannot be used without a working tree.
	(faui02) [~/work/repositories/mirror/git.git] git fetch
	(faui02) [~/work/repositories/mirror/git.git]

I also would like to check that it is impossible to push anything to the
repository.

		Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-17  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17  6:30 Update a bare repository Thomas Glanzmann
2007-07-17  7:04 ` Jeff King
2007-07-17  7:26   ` Thomas Glanzmann
2007-07-17  7:31     ` Jeff King
2007-07-17  7:41       ` Thomas Glanzmann

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).