新建/初始化git项目 Command line instructions Git global setup git config --global user.name "你的名字" git config --global user.email "你的邮箱" Create a new repository git clone ${git地址} cd demo touch README.md git add README.md git commit -m "add README" git push -u origin master Existing folder or Git repository cd existing_folder git init git remote add origin ${git地址} git add . git commit git push -u origin master