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
相关推荐
ccino .2 小时前
【将更改从 GitHub Desktop 推送到 GitHub】
github
lpfasd1232 小时前
PyGithub用法详解
git·python·github
沉淀の沙5 小时前
1-20[IDEA远程链接GitHub失效问题]
github
007张三丰5 小时前
git中的SSH 公钥配置详细指南(GitHub、GitLab、Gitee平台适用)
git·ssh·github
Xiaok10185 小时前
解决GitHub双重认证问题:使用Chrome插件Authenticator
chrome·github·2fa
CoderJia程序员甲5 小时前
GitHub 热榜项目 - 日榜(2026-01-20)
开源·大模型·llm·github·ai教程
我寄人间雪满头丶6 小时前
GitHub 私有仓库 SSH 访问配置 SOP(Mac / Windows 通用)
macos·ssh·github
竹之却9 小时前
【Hexo】Hexo搭建教程
github·hexo·blog
是毛毛吧10 小时前
GitHub热榜----前端已死?AionUi 横空出世:首个开源“生成式UI”框架,让 AI 在运行时“手搓”界面
前端·开源·github
不会kao代码的小王10 小时前
深信服超融合 HCI 核心技术解析:aSV、aSAN 与 aNET 的协同架构
运维·服务器·网络·数据库·github