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
相关推荐
逛逛GitHub22 分钟前
开源 10 天就飙到 4 万星,这个项目收集了 58 个知名网站样式。
github
anywayuan2 小时前
使用 GitHub Actions 自动化构建和发布 Rust 项目
github
CoderJia程序员甲2 小时前
GitHub 热榜项目 - 日榜(2026-04-12)
ai·大模型·llm·github·ai教程
用户385178461902 小时前
PR冲突处理和更新流程
github
linux修理工2 小时前
pve 安装桌面xfce并开启vnc
github
阿里嘎多学长5 小时前
2026-04-12 GitHub 热点项目精选
开发语言·程序员·github·代码托管
柠檬味的Cat5 小时前
使用腾讯云COS作为WordPress图床的实践
前端·github·腾讯云
zh_xuan5 小时前
github远程分支本地切换方法
github
WindrunnerMax5 小时前
从零实现富文本编辑器#13-React非编辑节点的内容渲染
前端·架构·github
程序员柒叔5 小时前
OpenCode 一周动态-2026-W15
后端·github