Ubuntu系统下如何提交代码到github

来源:互联网 发布:黑桐谷歌老婆淘宝店 编辑:程序博客网 时间:2024/05/16 11:21

废话不多,直接上干货!

  1. 注册一个github账号

  2. 创建repositorycreate a new repository

  3. 切换到项目根目录 输入下面的命令

git config --global user.email "you@example.com"git config --global user.name "Your Name"

接着按照下图导向敲入相关命令

git init ......

这里写图片描述

创建成功后可以看到自己的项目啦

这里写图片描述