All of lore.kernel.org
 help / color / mirror / Atom feed
* Using different protocols for "pull" and "push".
@ 2009-06-04 23:16 Nikos Chantziaras
  2009-06-05  0:52 ` Junio C Hamano
  2009-06-05 15:03 ` Using different protocols for "pull" and "push" Mike Gaffney
  0 siblings, 2 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2009-06-04 23:16 UTC (permalink / raw)
  To: git

Hi.

I wonder if it's possible to setup Git (probably in .git/config) to use 
SSH only for "git push" and use the git protocol for "git pull".  My 
current configuration is:

[remote "origin"]
         url = ssh://user@project.someserver.net/gitroot/project
         fetch = +refs/heads/*:refs/remotes/origin/*

Issuing a "git pull" command results in pulling using SSH (along with 
asking for a password).  Is there a way to alter the configuration so 
that a "pull" will use git:// instead of ssh:// ?

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

end of thread, other threads:[~2009-06-07  9:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 23:16 Using different protocols for "pull" and "push" Nikos Chantziaras
2009-06-05  0:52 ` Junio C Hamano
2009-06-06 14:43   ` [WIP/RFC] Allow push and fetch urls to be different Michael J Gruber
2009-06-06 14:50     ` Tay Ray Chuan
2009-06-06 17:57     ` Linus Torvalds
2009-06-07  4:19     ` Junio C Hamano
2009-06-07  9:00       ` Michael J Gruber
2009-06-05 15:03 ` Using different protocols for "pull" and "push" Mike Gaffney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.