如果經常在修改git內容
每次的pull,  push 都輸入帳號密碼是非常煩人的
可以利用以下指令來記憶帳號密碼
git config --global credential.helper 'cache --timeout 86400' 
以上例子為 86400 秒,也就是一天

如果要永久儲存
可以輸入
git config --global credential.helper 'cache --timeout 86400' 

但會把帳號密碼明碼寫在 ~/.git-credentials
就看個人習慣


undefined

arrow
arrow
    文章標籤
    git
    全站熱搜

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