git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Carlos Martín Nieto" <cmn@elego.de>
To: "J. Bakshi" <joydeep@infoservices.in>
Cc: git@vger.kernel.org
Subject: Re: How to provide authentication along with git command itself ?
Date: Thu, 14 Jul 2011 13:12:55 +0200	[thread overview]
Message-ID: <1310641975.6041.3.camel@centaur.lab.cmartin.tk> (raw)
In-Reply-To: <20110714162953.36347b76@shiva.selfip.org>

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2011-07-14 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14 10:45 How to provide authentication along with git command itself ? J. Bakshi
2011-07-14 10:50 ` Carlos Martín Nieto
2011-07-14 10:59   ` J. Bakshi
2011-07-14 11:12     ` Carlos Martín Nieto [this message]
2011-07-14 10:53 ` Jon Seymour
2011-07-14 11:01   ` J. Bakshi
2011-07-14 20:02     ` Jonathan Nieder

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=1310641975.6041.3.camel@centaur.lab.cmartin.tk \
    --to=cmn@elego.de \
    --cc=git@vger.kernel.org \
    --cc=joydeep@infoservices.in \
    /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).