技术栈

一次git合并与上传

hashiqimiya2026-05-02 10:00

命令

git init

git add .

git commit -m "shangchuang"

git status

git branch -M main

git remote add origin https://gitcode.com/hashiqimiya/mcp-framework.git

git push -u origin main

弹出出现用户与密码

若出现仓库已有文件,需要合并

git pull origin main --allow-unrelated-histories

若出现需要修改连接仓库,需要重设

git remote set-url origin https://github.com/jieterui/mcp-framework.git

上一篇:王杨游戏蜘蛛养站系统:提交百度站长工具平台教程!
下一篇:【LangGraph】五.人机协作:审批和中断
相关推荐
减瓦
14 小时前
Windows 环境使用 Git Bash 最佳实践
windows·git
史呆芬
14 小时前
CodeX多仓库提交Skill搭建
git·后端·openai
城东
15 小时前
Git使用[原意要新建分支提交但是误提交到原来分支恢复办法]
git·原意要新建分支提交·但是误提交到原来分支
开发者联盟league
15 小时前
git 压缩本地最近多个commit
git
赵庆明老师
1 天前
Vben精讲:04-了解VSCode中的Git
ide·git·vscode
Irissgwe
1 天前
第 5 篇:Git 分支基础:branch、checkout、merge 和冲突解决
git
liberalhumblehopeful
1 天前
git代码管理-分支差距过大如何进行同步
git
一只楚楚猫
2 天前
一篇文章入门Git工具
git
Irissgwe
2 天前
第 6 篇:Git 分支进阶:分支策略、stash、bugfix 和 feature 开发
git
热门推荐
012026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?022026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf03GitHub 镜像站点04AI 编程 IDE 全景解析 2026:Agent 全面接管开发链路052026 年 AI 大模型 & AI 编程工具实战全总结06AI科技热点日报 | 2026年07月01日07【AI】2026 年具身智能模型和世界模型总结082026 AI 编程工具选型横评:Cursor / Claude Code / Trae / Copilot 到底选谁(建议收藏·避坑版)09Claude Code、Codex、Cursor三分天下:2026年AI编程Agent生态全景剖析102026年7月AI圈大地震:GPT-5.6被政府限制、Claude入驻Slack、Anthropic自研芯片