From: Carlos Martín Nieto Date: Thu, 14 Jul 2011 11:12:55 GMT Subject: Re: How to provide authentication along with git command itself ? Message-ID: <1310641975.6041.3.camel@centaur.lab.cmartin.tk> In-Reply-To: <20110714162953.36347b76@shiva.selfip.org> On Thu, 2011-07-14 at 16:29 +0530, J. Bakshi wrote: [...] > > Thanks for the response. Can I use the same .netrc to store different > authentication for different repo ? Is it somehow possible to store > the information at the concerned .git of the repo ? I think this will > be easier for multiple repos. > I'm not sure, but netrc is not specific for any particular protocol. It assumes that your login and password are the same for several services on the same computer or set of computers. It's often less hassle (and more efficient wrt. data transfer) to use SSH. With gitolite you can give people access to git repositories over SSH without giving them SSH access to the machine proper. Cheers, cmn