git 賬號密碼和提交用戶名設置

1.保存賬號密碼

  // 當前文件夾保存

   git config credential.helper store

   // 全局保存

   git config --global credential.helper store     

2.取消保存

git config credential.helper uninstall

git config  --global credential.helper uninstall

3. 設置提交用戶名

git config user.name 提交用名字

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章