上传本地文件到github

创建SSH通道

输入

bash 复制代码
ssh-keygen -t rsa -C "github登录邮箱"

记事本打开上面这个文件,复制里面的key,登录github


上传文件

新建一个空的文件夹

先初始化,再配置邮箱和名字

bash 复制代码
git init
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

复制需要上传仓库的SSH链接

成功后仓库里就有这个aaa.txt了

相关推荐
子兮曰6 小时前
async/await高级模式:async迭代器、错误边界与并发控制
前端·javascript·github
崔庆才丨静觅19 小时前
Claude Code GitHub Actions 使用教程
github·api·claude
砖厂小工2 天前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
程序员鱼皮2 天前
又一个新项目完结,我要出海了!
ai·github·开源项目
徐小夕2 天前
pxcharts-vue:一款专为 Vue3 打造的开源多维表格解决方案
前端·vue.js·github
Moment2 天前
想要长期陪伴你的助理?先从部署一个 OpenClaw 开始 😍😍😍
前端·后端·github
我叫黑大帅2 天前
前端如何利用 GitHub Actions 自动构建并发布到 GitHub Pages?
前端·面试·github
HelloGitHub2 天前
这个年轻的开源项目,想让每个人都能拥有自己的专业级 AI 智能体
开源·github·agent