设置账户和邮件
$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"
初始化库
$ git init
添加到仓库
$ git add readme.txt
提交
$ git commit -m "wrote a readme file"
$ git push -u origin master
设置账户和邮件
$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"
初始化库
$ git init
添加到仓库
$ git add readme.txt
提交
$ git commit -m "wrote a readme file"
$ git push -u origin master