Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.