close

自從 git 啟用雙重認證以後, 

除了 login git 需要使用 google authenticator 以外

在 git  command line 常用的 git push 也變成要用 token 取代密碼

官方文件在

https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token

簡單的說 , 就是要去生一個 token (setting -->develop setting )

換掉你的密碼

token 要收好喔!

 

以下這些做法是沒有效的XD

git config --system --unset credential.helper

arrow
arrow
    文章標籤
    git code 程式
    全站熱搜

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