安裝Git后,為了能夠連接遠(yuǎn)程倉庫,需配置Git用戶名、郵箱和密碼
?設(shè)置用戶名
git config --global user.name "Your Name"
?設(shè)置郵箱
git config --global user.email "email@example.com"
設(shè)置密碼
git config --global user.password "Your Password"
?右鍵鼠標(biāo),點(diǎn)擊下圖紅框內(nèi)菜單,進(jìn)入Git Bash命令行
?命令輸入后,系統(tǒng)會(huì)在C:\Users\{{user}}路徑中生成.gitconfig文件
文章來源:http://www.zghlxwxcb.cn/news/detail-810596.html
?文章來源地址http://www.zghlxwxcb.cn/news/detail-810596.html
到了這里,關(guān)于Git 配置用戶名、郵箱和密碼的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!