mac下git設置用戶名密碼

設置用戶名和郵箱

git config --global user.name [username]
git config --global user.email [email]

查看用戶名和郵箱

git config --global user.name
git config --global user.email

查看配置文件

git config --list

編輯配置文件

vi .gitconfig  

sourcetree中的配置

[credential]
    helper = store



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