Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to pass the SVN password on the command-line or in a text file? I would like to run git-svn via a script?

I know that the username can be passed on the command-line, but is it possible to pass the password as well or have it stored in another location that git-svn can use?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

Git-svn can use the credentials defined in the ~/.subversion/servers file.

share|improve this answer
    
I will give that another go-round. –  Walter White Nov 28 '11 at 21:07
add comment

You can use:

echo $password | git svn --username $username ...
share|improve this answer
add comment

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.