helloword
在本地按照如下的命令进行
1、 mkdir gitRepo #如果是已存在的工程项目,则直接cd到项目根目录下,不需要新建。
2、 cd gitRepo
3、 git init #初始化本地仓库
4、 git add xxx #添加要push到远程仓库的文件或文件夹
5、 git commit -m ‘first commit’
6、 git remote add origin https://github.com/yourgithubID/gitRepo.git #建立远程仓库
7、 git push -u origin master #将本地仓库push到远程仓库