gxhpersonal / gxhpersonal.github.io

Wojsdm Stay Star Don't miss
2 stars 0 forks source link

GitHub | blog station #16

Open gxhpersonal opened 5 years ago

gxhpersonal commented 5 years ago

http://www.guoxh.com/blog/2017/11/17/GitHub/

如何将本地文件上传到Github上?1.在目录中创建新的 Git 仓库进入到你本地项目的根目录下,执行 git init 命令,就可以创建一个 Git 仓库了 2、执行 git add . 命令,将项目的所有文件提交到暂存区 3、执行git commit -m “注释语句” 命令,将暂存区内容添加到仓库中 4、在 Github 新建一个 Repository,点击Create repository