1. 输入git init 2. git add . 3. git commit -m "提交的信息" 4. git remote add origin https://github.com/xxxxx/xxxxx.git” 5. git push -u origin master