全局配置 name email为字符串需要加" " git config --global user.name <name> git config --global user.email <email> 将本地代码上传云端 git init git add * git commit -m "init" git remote add <name> <remote git url> git push -u <name> "master" 同步云端修改后的代码 git pull <name>