本文共 573 字,大约阅读时间需要 1 分钟。
进入本地的项目的根目录下,执行Git命令
git init
git add .
如果想添加某个特定的文件,只需把.换成特定的文件名即可
git commit -m "注释语句"
创建页面如下图所示:
点击下面的Create repository,就会进入到类似下面的一个页面,拿到创建的仓库的https地址,红框标示的就是
git remote add origin https://github.com/hanhailong/CustomRatingBar
git pull origin master
git push -u origin master
执行过程中,根据提示输入username和password。
转载地址:http://motbz.baihongyu.com/