git 创建项目 Posted 2020-12-31 zhonghuahero tags: 篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git 创建项目相关的知识,希望对你有一定的参考价值。 Git global setup: git config --global user.name "hello" git config --global user.email "[email protected]" Create Repository mkdir projectname cd projectname git init touch README git add README git commit -m ‘first commit‘ git remote add origin http://domain/projectname.git git push -u origin master Existing Git Repo? cd existing_git_repo git remote add origin http://domain/projectname.git git push -u origin master 以上是关于git 创建项目的主要内容,如果未能解决你的问题,请参考以下文章