Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to pass the username and password to a git command so I can script it through Python? I understand the password will be in cleartext but for my application it is not a problem.

share|improve this question

1 Answer 1

Use SSH keys for authentication. It sounds like you might be on Windows, so you'll want to look into PuTTY's Pageant. More information on your situation would be helpful.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.