Git配置用戶名、郵箱、密碼


配置用戶名:username

git config --global user.name username

配置郵箱:user@email

git config --global user.email user@email

配置密碼

git config --global credential.helper store

該命令會記住密碼,執行一次 git pull 或 git push 等需要輸入密碼的命令,輸入一次密碼。

查看配置

git config --list


免責聲明!

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



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