如何在github上创建代码仓库

1.下载git

2.在github上申请账号

3.打开Git Bash

4.输入 git config --global user.name "Tonny"

   输入 git config --global user.email "[email protected]"

5.使用git add .  添加代码

6.使用git commit -m "First Commit"提交代码

7.使用git push -u origin master将代码推送到github服务器

更详细的过程请参考《第一行代码》,但是书上没说第7步。

发布了78 篇原创文章 · 获赞 54 · 访问量 30万+

猜你喜欢

转载自blog.csdn.net/chjr1000/article/details/49077435