Re: How to provide authentication along with git command itself ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



J. Bakshi wrote:

> Well, I am using version 1.7, hence not DAV but using git-http-backend 

Ah, I forgot to mention the docs for gitolite and http-backend[1].

As for your original question about how to set up or cache credentials,
unfortunately I haven't tried it.  Based on git-push(1), it looks like
the usual

	http://username:pass@domain/path/to/repo

syntax should work if you're passing the full URL on the command line
or if it's okay to store the usernames and passwords in plaintext in
.git/config.

If that's not okay, it also might be possible to hack up something
evil with the GIT_ASKPASS variable.  Some of the patches mentioned in
the recent discussion about password prompts also might be
interesting[2].

Regards,
Jonathan

[1] http://sitaramc.github.com/gitolite/doc/http-backend.html
[2] http://thread.gmane.org/gmane.comp.version-control.git/176522
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]