有時候為了某些原因,必須用command line方式從SVN export source code出來,但要如何自動帶上帳號、密碼呢?

這時可以加上參數 --username 與 --password

更可以進一步加上 --no-auth-cache  參數,這樣SVN也不會出現詢問是否要存檔認證的提示了

 

完整範例如下:

 

  svn export svn://172.18.41.35/VAD8992_android/AMSS_postCS-1092_LABF64-2820/vad8992_postCS --username Mark --password godofwar --no-auth-cache

 

 

arrow
arrow
    文章標籤
    svn
    全站熱搜
    創作者介紹
    創作者 CuteParrot 的頭像
    CuteParrot

    馴龍窩

    CuteParrot 發表在 痞客邦 留言(0) 人氣()