github拆分小批量上传文件

Windows端

1.把项目重置干净

Remove-Item -Recurse -Force tool/.git

2.打开文件夹
3.把里面所有东西 全部剪切移到桌面

只留 1 个小小的文件 就行

4.回到终端,依次运行

git init

PS D:\soft\github\tool> git init

Initialized empty Git repository in D:/soft/github/tool/.git/

仓库已经重置成功

git add .

git commit -m "first commit"

PS D:\soft\github\tool> git commit -m "1"

master (root-commit) da7ba8b 1

2 files changed, 2 insertions(+)

create mode 100644 README.md

create mode 文件大小 文件名

git remote add origin https://github.com/名称/文件夹名称.git //关联仓库:

git push -u origin master

git push --set-upstream origin master

5.成功后,再分批加文件

注意不能超过100MB

相关推荐
星蓝_starblue23 分钟前
零服务器、零数据库!开源growth-board,利用GitHub自动管理刷题/学习/求职全流程
服务器·数据库·程序人生·系统架构·node.js·github·改行学it
夏天的峰没有风29 分钟前
Typora加github加PicGo搭建图床使用教程
github·claude code
Liekkas Kono2 小时前
Github Star History 趋势图工具推荐
github·swhl
逛逛GitHub3 小时前
盘点 2 个看起来贼炫酷酷酷的 GitHub 项目,炒的还挺火的。
github
卡卡罗特AI3 小时前
GitHub怎么用?零基础,保姆级使用教程-上!建议收藏
前端·后端·github
YuePeng5 小时前
不写一行接口,让 DBeaver 直连你的指标层——背后只用了一个端口
后端·架构·github
别动我齐刘海5 小时前
Day6 unitree_G1人形机器人GMR—— MotionInput
c语言·c++·人工智能·学习·机器学习·机器人·github
leoZ2316 小时前
实战复盘:用 Claude Code 从零搭一个 GitHub PR 统计工具
java·人工智能·python·深度学习·自然语言处理·github·llama
阿里嘎多学长8 小时前
2026-08-04 GitHub 热点项目精选
开发语言·程序员·github·代码托管
MicrosoftReactor10 小时前
技术速递|GitHub Copilot App 入门指南:快速上手
ai·github·copilot·copilot app