配置使用者名: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 等需要輸入密碼的指令,輸入一次密碼。
配置使用者名: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 等需要輸入密碼的指令,輸入一次密碼。