git免登錄設置


單個項目免登陸

將下面兩天存入(如果不想免登錄,則注釋即可)
文件路徑.git/config,輸入下面的參數

[credential]
    helper = store

全局免登錄

先運行下面的命令,再登錄

git config --global credential.helper store

全局設置用戶名和密碼

git config --global user.mail sonny.zhang@foxmail.com
git config --global user.name sonny-zhang

去掉免登錄

git config --system --unset credential.helper


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM