VScode配置 github 上传代码

  1. 初始化本地库
bash 复制代码
git init
  1. 创建本地分支,需要和github分支名字一样
bash 复制代码
git checkout -b master
  1. 本地仓库连接远程仓库
bash 复制代码
git remote add origin 自己的仓库地址
  1. 云仓库代码同步到本地
bash 复制代码
git pull origin master
  1. 上传代码
bash 复制代码
git push -u origin master
相关推荐
fthux4 小时前
装闭 RenoPit 源码解析(07):装修闭坑知识库与AI Prompt构建
人工智能·ai·开源·github·open source·renopit
fthux7 小时前
装闭 RenoPit 源码解析(06):SSE如何实时推送AI装修分析进度
人工智能·ai·开源·github·open source·renopit
是烨笙啊9 小时前
拯救 GitHub stars 体验:从 Agent Skill 到浏览器插件
github
小弥儿10 小时前
GitHub今日热榜 | 2026-08-11:图原生基础设施首日登顶
学习·开源·github
码流怪侠11 小时前
用 WiFi 信号数人头:howmanypeoplearearound 项目深度解析
后端·开源·github
大强同学13 小时前
零成本部署0penList,三步搞定,我一分钱没花!
github
持敬chijing14 小时前
PHP开发-环境搭建-安装phpstudy-vscode工具
开发语言·vscode·php
csdn_aspnet15 小时前
Copilot能换成本地吗?VSCode接本地大模型本地化接入方案
ide·vscode·ai·ollama
大数据专业的小沉17 小时前
解决PyCharm 2024.1 打开项目后持续卡顿,UI 无响应,编辑延迟明显
ide·python·pycharm
青 春 记 忆17 小时前
零基础入门python04:用注册校验理解字典、集合和条件判断
开发语言·vscode·python·python3.11