git-svn pass password on command-line

13,868

Solution 1

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

Solution 2

You can use:

echo $password | git svn --username $username ...
Share:
13,868
Walter
Author by

Walter

Updated on September 18, 2022

Comments

  • Walter
    Walter about 1 year

    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?

  • Walter
    Walter almost 12 years
    I will give that another go-round.