github 仓库初始化命令

...or create a new repository on the command line

bash 复制代码
echo "# Rongerr.github.io" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/dearRongerr/Rongerr.github.io.git
git push -u origin main

...or push an existing repository from the command line

bash 复制代码
git remote add origin https://github.com/dearRongerr/Rongerr.github.io.git
git branch -M main
git push -u origin main
相关推荐
lkbhua莱克瓦249 小时前
Java基础——常用算法4
java·数据结构·笔记·算法·github·排序算法·快速排序
John Song18 小时前
git多个账号管理
git·github
破烂pan20 小时前
github精选Agent学习repo
llm·github·agent
XU磊26021 小时前
Git 实现github仓库管理-删除指定目录下的所有文件并保留目录结构
git·github
逛逛GitHub1 天前
1 天狂揽 4000 多 Star 的 AI 舆情分析开源神器。
github
卡洛斯(编程版1 天前
大仓库推到GitHub大踩坑-Git LFS从安装到使用
git·github
玥轩_5211 天前
Git命令速查手册
大数据·git·elasticsearch·gitee·github·命令速查
吃饺子不吃馅1 天前
⚡️ Zustand 撤销重做利器:Zundo 实现原理深度解析
前端·javascript·github
whysqwhw1 天前
KMP类GSON转字符串工具
github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2025-11-06)
ai·开源·大模型·github·ai教程