Git初始化项目
2018-05-14 本文已影响0人
lihongyan
create a new repository
echo "# 项目名" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lhongyan/asdfasfasf.git
git push -u origin master
push an existing repository
git remote add origin https://github.com/lhongyan/asdfasfasf.git
git push -u origin master