上一篇介绍了Ubuntu16.04系统下安装git的方法。本博客介绍怎么在github上怎么新建库。

如图Ubuntu系统下在github中新增库的方法-LMLPHP

Ubuntu系统下在github中新增库的方法-LMLPHP

root@ranxf:/home/ranxf/learnGit/ranran_jiekou# git remote add origin https://github.com/Ranxf/jiekou_auto.git
root@ranxf:/home/ranxf/learnGit/ranran_jiekou# git push -u origin master
Username for 'https://github.com': Ranxf
Password for 'https://[email protected]':
对象计数中: 70, 完成.
Delta compression using up to 4 threads.
压缩对象中: 100% (68/68), 完成.
写入对象中: 100% (70/70), 56.47 KiB | 0 bytes/s, 完成.
Total 70 (delta 11), reused 0 (delta 0)
remote: Resolving deltas: 100% (11/11), done.
To https://github.com/Ranxf/jiekou_auto.git
* [new branch] master -> master
分支 master 设置为跟踪来自 origin 的远程分支 master。
04-15 02:39