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实现打印预览?
  • 热门搜索
    佳美口腔怎么样 张家界自由行旅游攻略 华为隐私空间怎么用 连云港攻略 蜂蜜柠檬水减肥法 星露谷物语攻略 三花减肥茶 水浒神兽攻略 怎么给手机杀毒 金庸群侠传3攻略华山