一、配置Git 1.1 1. 配置local repository的账号&邮箱 $ git config --global user.name “Your Name” $ git config --global user.email “email@example.com” 2