如果使用 https 和遠程倉庫通信,Git 默認每次操作都需要輸入用戶名和密碼,十分麻煩。
解決方法:
1、Git Bash t輸入命令:
git config --global credential.helper store
2、修改 .git 目錄下的 config 文件,增加如下設置:
[credential]
helper = store
Enjoy it !
如果使用 https 和遠程倉庫通信,Git 默認每次操作都需要輸入用戶名和密碼,十分麻煩。
解決方法:
1、Git Bash t輸入命令:
git config --global credential.helper store
2、修改 .git 目錄下的 config 文件,增加如下設置:
[credential]
helper = store
Enjoy it !
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。