-
在github上创建hello的仓库
-
上传本地项目文件
echo "# hello" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:xxx/hello.git
git push -u origin master
在github上创建hello的仓库
上传本地项目文件
echo "# hello" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:xxx/hello.git
git push -u origin master