github:创建README.md文件

 时间:2026-04-22 18:08:27

1、README.md文件一般是在新建repository时选择创建。

如果没有选择,则不会创建。但如果后续有想要这个文件,怎么办呢?本经验介绍怎么在现有的repository中创建README.md文件的方法。

github:创建README.md文件

github:创建README.md文件

2、首先,你的电脑必须安装了git客户端。因为后续要通过git命令的形式创建文件。

github:创建README.md文件

3、然后新建一个有readme.md文件的repository(如Hello world),并下载到本地文件夹中。

github:创建README.md文件

github:创建README.md文件

4、解压下载好的压缩包

github:创建README.md文件

5、在鼠标右键点击文件夹,选择“Git Hash Here”

github:创建README.md文件

6、输入命令:

git init

git add README.md

git commit -m "test commit"

git remote add origin https://github.com/ZJLG/Test.git

git push -u origin master

github:创建README.md文件

github:创建README.md文件

github:创建README.md文件

7、重新加载Test,发现包含了一个README.md文件

github:创建README.md文件

  • #好久不见#Endnote如何查找重复文献
  • Word应用技巧总结(57)——添加公式引用
  • word怎么看目录
  • AI怎么设置单位
  • Origin中怎么通过File实现打印预览?
  • 热门搜索
    中间的点怎么打 肯德基怎么做 苹果怎么换手机铃声 怎么治白头发 贷款的利息怎么算 cad格式刷怎么用 海啸是怎么形成的 笔记本怎么用 眼睛发红是怎么回事 我的世界雪傀儡怎么做